Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a warning to core.load so none will suffer like I have

  • Loading branch information...
commit 4631a3a6be447832b364d8b0eaeb7edb1037368a 1 parent 547b227
Colin Morris authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 hegemon-core/src/main/resources/javascript/hegemon/core.js
4 hegemon-core/src/main/resources/javascript/hegemon/core.js
View
@@ -17,7 +17,9 @@
core = {};
/**
- * Returns the module requested.
+ * Returns the module requested. Note that this is more like a macro than a function. If you pass in anything other
+ * than a string literal, the hegemon preprocessor won't know to upload the corresponding file to the server, and
+ * stuff will break.
* @param name - the name of the module to load.
* @return {Object} the named module object.
*/
Please sign in to comment.
Something went wrong with that request. Please try again.