0.9.0 • Published 10 years ago
phosphor-command v0.9.0
phosphor-command
A module for expressing the command pattern.
Package Install
Prerequisites
npm install --save phosphor-commandSource Build
Prerequisites
git clone https://github.com/phosphorjs/phosphor-command.git
cd phosphor-command
npm installRebuild
npm run clean
npm run buildRun Tests
Follow the source build instructions first.
npm testBuild Docs
Follow the source build instructions first.
npm run docsNavigate to docs/index.html.
Supported Runtimes
The runtime versions which are currently known to work are listed below. Earlier versions may also work, but come with no guarantees.
- Node 0.12.7+
- IE 11+
- Firefox 32+
- Chrome 38+
Bundle for the Browser
Follow the package install instructions first.
npm install --save-dev browserify
browserify myapp.js -o mybundle.jsUsage Examples
Note: This module is fully compatible with Node/Babel/ES6/ES5. Simply omit the type declarations when using a language other than TypeScript.