Martin Carlberg
df2cf923e1
MainBundle path has no '/' at the end when running in CommonJS.
...
This will make relative paths fail. For example if OBJJ_INCLUDE_PATHS has the path "../../MyLibrary".
MyLibrary will not be found when the path is joined with mainBundlePath without an ending '/'.
This is working when running in Browser.
2012-05-11 15:52:44 +02:00
Ross Boucher
2841223c9d
Create the args and namedArgs objects in Bootstrap.js, pass them along up to CPApplication.
2010-03-08 15:14:09 -08:00
Tom Robinson
aff4883222
Initial fixes for "flatten". Loads everything correct but AppKit does not start completely.
2010-03-07 02:16:01 -08:00
Francisco Ryan Tolmasky I
50ff20ba33
Further reduction of CFURL creation and caching of method values.
...
Reviewed by me.
2010-03-06 16:53:24 -08:00
Francisco Ryan Tolmasky I
875e177219
Added global versions of objj_importFile and objj_executeFile, as well as objj_import with a deprecation warning.
...
Reviewed by me.
2010-03-06 01:26:27 -08:00
Francisco Ryan Tolmasky I
d7f0bf6a24
Support root level apps.
...
Reviewed by me.
2010-03-05 22:34:04 -08:00
Francisco Ryan Tolmasky I
5afe6fea3c
Better support for exotic main file locations.
...
Reviewed by me.
2010-03-05 21:54:22 -08:00
Francisco Ryan Tolmasky I
b2ffe7e509
Further cleaning and bringing CPURL up to speed with CFURL.
...
Reviewed by me.
2010-03-05 21:11:53 -08:00
Francisco Ryan Tolmasky I
eb57d14673
Further migration from file paths to CFURLs.
...
Reviewed by me.
2010-03-03 01:04:25 -08:00
Ross Boucher
68d30c8802
Replace the old support for window.update_progress with OBJJ_PROGRESS_CALLBACK.
...
Function gets passed float from 0 to 1, the total size, and the last loaded bundle path, in that order.
2010-02-25 11:39:08 -08:00
Tom Robinson
f3633c050b
Add OBJJ_AUTO_BOOTSTRAP option to disable auto-bootstrapping. Fixes flatten race condition.
2010-02-23 15:41:52 -08:00
Francisco Ryan Tolmasky I
20637fc5e0
Added missing licenses and removed a bit of unused code.
...
Reviewed by me.
2010-02-21 13:52:51 -08:00
Francisco Ryan Tolmasky I
841ed9ea89
Major cleanup of globals and exports. Removed many accidental globals and no more need for eval in the initialization process. Also fixes Theme Showcase.
...
Reviewed by me.
2010-02-20 01:04:17 -08:00
Francisco Ryan Tolmasky I
f12b4520f6
Some renaming.
...
Reviewed by me.
2010-02-14 19:17:50 -08:00
Francisco Ryan Tolmasky I
f77f52802c
Fix for new loader not working when app lives in the root directory of a website.
...
Reviewed by me.
2010-02-14 16:26:54 -08:00
Tom Robinson
64dc25dfb6
Export rootNode.
2010-02-13 13:13:47 -08:00
Tom Robinson
035d772a4a
Respect previously set OBJJ_MAIN_FILE
2010-02-09 11:46:25 -08:00
Francisco Ryan Tolmasky I
e64a9a7ab9
Fix for objj command line tool not working.
...
Reviewed by me.
2010-01-31 18:36:36 -08:00
Francisco Ryan Tolmasky I
0942f9fac3
Replaced instances of non-compressable words.
...
Reviewed by me.
2010-01-31 13:14:51 -08:00
Francisco Ryan Tolmasky I
4b7310d0cb
More consistent naming scheme.
...
Reviewed by me.
2010-01-29 15:16:22 -08:00
Francisco Ryan Tolmasky I
fcfeb29be5
Changed #define from RHINO to COMMONJS. Re-enabled recently added document-load-waiting.
...
Reviewed by me.
2010-01-27 03:58:49 -08:00
Francisco Ryan Tolmasky I
38fd675f51
Performance improvements and bug fixes.
...
Reviewed by me.
2010-01-27 02:55:56 -08:00
Francisco Ryan Tolmasky I
ec210c49c5
Beginnings of new loader.
...
Reviewed by me.
2010-01-27 00:43:54 -08:00