The framework containing StealJS, FuncUnit, jQueryMX, and DocumentJS.
Pull request Compare This branch is 682 commits ahead, 1694 commits behind donejs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
can @ 517acce
canui @ 55e4a8c
documentjs @ b269813
funcunit @ a237f56
jmvc/generate
jquery @ ba1d72a
scripts
site
steal @ fda08d6
test
tutorials
.gitignore
.gitmodules
changelog.md
docs.html
js
js.bat
license.md
readme.md
stealconfig.js

readme.md

JavaScriptMVC 3.3

How to get (and contribute) JMVC

  1. Start a new project in git.
  2. Fork .... http://github.com/jupiterjs/steal and http://github.com/jupiterjs/jquerypp and http://github.com/jupiterjs/funcunit and http://github.com/jupiterjs/documentjs
  3. Add steal, jquerymx, funcunit, and documentjs as submodules of your project... git submodule add git@github.com:YOU/steal.git steal git submodule add git@github.com:YOU/jquerypp.git jquery git submodule add git@github.com:YOU/funcunit.git funcunit git submodule add git@github.com:YOU/documentjs.git documentjs
  4. Learn a little more about submodules ... http://johnleach.co.uk/words/archives/2008/10/12/323/git-submodules-in-n-easy-steps
  5. Make changes in steal or jmvc, and push them back to your fork.
  6. Make a pull request to your fork.

Getting Started with JMVC

  1. Generate app: ./js steal/generate/app cookbook
  2. Generate scaffold: ./js steal/generate/scaffold Cookbook.Models.Recipe
  3. Add html to cookbook/cookbook.html:
    • See your recipes app: Open cookbook/cookbook.html in a browser.
    • Run functional tests in the browser: Open cookbook/funcunit.html in a browser (turn off popup blockers).
    • Run functional tests with selenium: ./funcunit/run selenium cookbook/funcunit.html
    • Run unit tests in the browser: Open cookbook/qunit.html in a browser.
    • Run unit tests with Rhino: ./funcunit/run envjs cookbook/qunit.html
    • Compress app: ./steal/js cookbook/scripts/build.js
    • Turn on production mode in callcenter.html and reload page: src='../steal/steal.production.js?cookbook'
    • Generate docs: ./steal/js cookbook/scripts/doc.js
    • View docs: Open cookbook/docs.html.