Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
------------------------------------------------ Added option to produce a clean build in debug mode (ignoring previous JS files) Added a fix for potential name conflicts in generated class hashes in optimise mode __humboldtjs renamed to __hjs to generate more compact code "include" statements are excluded in non-debug (single-file) mode, this is not needed since all dependencies are already loaded (part of the file) and saves a ton of generated JS Instance members are initialised in the meta-constructor, which means they work even if you don't have an actual constructor in the AS Class and method registration is moved to language features to reduce redundant code Registered (regm) functions are now named (in debug mode) so debugging should be easier When initialising a class we're now referencing a temp var instead of the full namespace which yields a huge file-size saving Fixed a bug related to string comparison not using .equals Added the ability to include pure JS in AS3 by wrapping it in /*--{ and }--*/ everything between such comments will be ignored and embedded as straight JS. This is useful for e.g. wrapping existing JS code bases or doing certain low-level things (e.g. modifying the prototype) which may result in errors when done through AS3 Binding methods to classes or instances now uses native binding in JS if supported by the browser which results in faster execution and easier debugging when stepping through code
- Loading branch information