Build version of ibm-js/ecma402.
No official release yet.
Bower release installation:
$ bower install ecma402-build
Manual master installation:
$ git clone git://github.com/ibm-js/ecma402-build.git
Then install dependencies with bower (or manually from github if you prefer to):
$ cd ecma402-build
$ bower install
This is the most common use-case so the needed configuration is built in the layer.
To load the minified layer you just need to wrap your main require
call with another require
, requiring "ecma402-build/layer"
.
Then you should continue to refer to modules with "ecma402/foo"
.
For example, this code:
require(["app/main", "ecma402/foo"], function() {
...
});
Becomes:
require(["ecma402-build/layer"], function() {
require(["app/main", "ecma402/foo"], function() {
...
});
});
If baseUrl
is not the directory containing ecma402-build
, custom configuration is needed.
require.config({
paths: {
"ecma402": "path/to/ecma402-build"
}
});
Issues should be filled against the source version of this project at ibm-js/ecma402
This project is distributed by the Dojo Foundation and licensed under the "New" BSD License. All contributions require a Dojo Foundation CLA.