ExtJS Packages by Mayflower
- Add the repository
$ sencha repository add mayflower http://mayflower.github.io/ExtJsPackages
Sencha Cmd v5.1.3.61
[INF] Adding remote "mayflower"
[INF] Remote "mayflower" added
- Embed the packages
In your
app.jsadjust the requires array, e.g.:
"requires": [
"ext-locale",
"[email protected]+",
"[email protected]+"
]
- Use the code
- See the
examplefolder in the respective package folder for usage examples.
- See the
- Profit!
- Fork the mayflower/ExtJsPackages to your own GitHub account.
- Clone the fork to your machine:
$ cd <path_to_workspace>
$ git clone https://github.com/<your github account>/ExtJsPackages.git
$ cd ExtJsPackages- Checkout out a new branch to make your changes on:
$ git checkout -b <your_new_patch>- Have a look at Sencha's Guide to JavaScript Style and Best Practices
- Read the JSDuck documentation and take a look at JSduck example.js.
- Use Jasmine to write tests for your new code.
- ExtJS-5.1.1 (direct download link)
- Sencha Cmd
- JSDuck
- NodeJS
- npm
- Go to the
ExtJsPackagesdirectory.
$ cd <path_to_workspace>/ExtJsPackages- Install required node packages with npm:
$ npm install- Download and extract the ExtJS framework files into the
extdirectory:
$ unzip <path_to>/ext-5.1.1-gpl.zip
$ mv ext-5.1.1 ext- build the package with Sencha Cmd:
$ (cd packages/mf-<package-name>; sencha package build)- Run tests:
$ npm test- Check code style:
$ ./node_modules/jscs/bin/jscs packages- Make sure that sencha packaging runs fine:
$ cd packages/<package-name>
$ sencha package build