PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/CHANGES/autoload

http://github.com/alimoeeny/arc
#! | 9 lines | 8 code | 1 blank | 0 comment | 0 complexity | 62002e65cf5068525ea141b40f027879 MD5 | raw file
1Makes libs.arc load all *.arc files placed in the load/ directory. Vanilla arc
2only preloads a hardcoded list of files. With this hack, instead of adding to
3that list when you need a new file autoloaded, or adding code to an existing
4file that doesn't obviously belong there, you can just put your code in a file
5in load/. Autoloaded files are loaded with 'require rather than vanilla 'load,
6which allows them to use 'require to ensure load-ordering.
7
8Please read load/README before adding files to the load/ directory. In
9particular, load/ is _not_ the correct place to put arc libraries.