diff --git a/docs/API-Reference.md b/docs/API-Reference.md index 63a0378..e407e9d 100644 --- a/docs/API-Reference.md +++ b/docs/API-Reference.md @@ -17,7 +17,7 @@ will be created and all of the bundled javascript files will be unzipped into it from a bundled resource within the Java plugin. The very first javascript file to load will always be js-plugins/core/_scriptcraft.js. Then all other javascript files are -loaded except for filenames begin with `_` (underscore), such files +loaded except for filenames which begin with `_` (underscore), such files are considered to be private modules and will not be automatically loaded at startup. diff --git a/src/main/javascript/core/_scriptcraft.js b/src/main/javascript/core/_scriptcraft.js index cb3ba0c..e7aecdd 100644 --- a/src/main/javascript/core/_scriptcraft.js +++ b/src/main/javascript/core/_scriptcraft.js @@ -18,7 +18,7 @@ will be created and all of the bundled javascript files will be unzipped into it from a bundled resource within the Java plugin. The very first javascript file to load will always be js-plugins/core/_scriptcraft.js. Then all other javascript files are -loaded except for filenames begin with `_` (underscore), such files +loaded except for filenames which begin with `_` (underscore), such files are considered to be private modules and will not be automatically loaded at startup.