diff --git a/shims/nohost.js b/shims/nohost.js index dafd6c4..a5be404 100644 --- a/shims/nohost.js +++ b/shims/nohost.js @@ -1,3 +1,10 @@ +/** + * The nohost.js shim is the first thing loaded by any page + * being served from the nohost server (ie., it gets injected + * before all other scripts). It is used to alter the environment + * so dynamic changes requiring data from the filesystem will + * continue to work in the nohost served page. + */ var nohost = (function(window) { // The server's filesystem @@ -58,7 +65,7 @@ var nohost = (function(window) { window.Image = Image; } - // Alter to intercept paths in the filesystem + // Alter