/CHANGES/autoload

http://github.com/alimoeeny/arc · #! · 9 lines · 8 code · 1 blank · 0 comment · 0 complexity · 62002e65cf5068525ea141b40f027879 MD5 · raw file

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