Rev 217 | Rev 219 | Go to most recent revision | Compare with Previous | Directory listing | View Log | RSS feed
"Long overdue refactoring"
* array.js
- Saved slice() code (still namespace-unaware)
* css.js
- Moved to dom/
* dhtml.js
- Renamed to dom.js (no namespace clean-up yet)
* math.js
- Reduced to basics; specifics now handled by several modules in math/
* object.js
- object.js is more or less required, so simplified initialization
- Introduces several backwards-incompatible changes:
+ Removed deprecated properties (they are outside the target namespace)
+ Removed all augmentations of the global object except `jsx';
imports (var foo = jsx.object.foo) can be/are used if needed,
methods are now import-safe (no in-library `this' references)
- jsx.object.isInstanceOf(): Also supports inference through [[Class]]
- Added jsx.object.getClass()
- Added jsx._import() as a convenience method to import into the global
namespace
- Added jsx.importFrom() to import scripts using synchronous ES5-safe XHR
with jsx.net.http.Request (obsoletes dom.js:loadScript()?)
- Methods now call jsx.warn() directly (better performance)
- Clean-up:
+ Renamed method arguments and some variables to be more self-explanatory
+ Removed unnecessary else statements
+ Fixed JSdoc
* python.js
- Added namespace-safe (jsx.python) implementations of several key
Python functions (list, dict, set, zip); test case in test/python.php
* types.js
- Fixed JSdoc
* doc/
- Improved documentation (<code>…</code> etc.)
* dom/
- Added timeout.js with jsx.dom.runLater() (uses window.setTimeout())
* dom/css.js
- Moved from root to here, moved methods to css/color.js
* dom/css/
- Added color.js with color-related methods from former css.js
* math/
- Added package consisting of modules built from former math.js sections
* test/debug.js
- Uses namespaced method calls
- Moved assertion functions to test.js
- synhl(): Uses greedy version of multi-line comment RegExp
* test/object.html
- JSunit incompatible with Fx 4, rewritten tests using jsx.test.runner
* test/test.js
- Experimental testing framework that uses the error console for output