Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

autoload

  • Loading branch information...
commit 2050a0eafc7a13e1fef492e7449e78d5c21201b0 1 parent cb2911f
@vovazolotoy vovazolotoy authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 system/prototypes/autoload.js
View
8 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');
Please sign in to comment.
Something went wrong with that request. Please try again.