Permalink
Browse files

autoload

  • Loading branch information...
1 parent cb2911f commit 2050a0eafc7a13e1fef492e7449e78d5c21201b0 @vovazolotoy vovazolotoy committed Aug 12, 2011
Showing with 3 additions and 5 deletions.
  1. +3 −5 system/prototypes/autoload.js
@@ -67,11 +67,9 @@ Autoload.list = function (root, prefix)
};
/**
- * Get list of Protorypes in folder (recursive)
+ * Load all prototypes in folder
*
- * @param String directory for lookup
- * @param String prefix to prototype name if file is not in root dir
- * @return Array list of prototypes names
+ * @param String root prototype directory for lookup
*/
Autoload.init = function (path)
{
@@ -86,4 +84,4 @@ Autoload.init = function (path)
// Load system and application prototypes
Autoload.init(SYSPATH + 'prototypes');
-Autoload.init(APPPATH + 'prototypes');
+Autoload.init(APPPATH + 'prototypes');

0 comments on commit 2050a0e

Please sign in to comment.