Building a standalone JavaScriptMVC controller.js

Posted

I've been doing a lot of work lately with a client who's using just the controller portion of JavaScriptMVC. I plan to write a more in-depth post about this while I'm traveling this week, but in the meantime, I wanted to jot down the steps to create the standalone controller.js file for my future reference. These instructions work for me on OSX 10.6.

  1. Go to the JavaScriptMVC downloads page on Github
  2. Download the latest version (3.0.0a0 as of this writing) of the framework and unzip it
  3. Open a terminal window and cd to the directory created when you unzipped the file
  4. Run steal/js steal/compress/plugin.js jquery/controller
  5. You should now have a new controller.js file in the directory; you're all set!

Posted

1 comment

Mar 11, 2010
Justin Meyer said...
Thanks Rebecca. This should work with any jmvc or phui plugin. Eventually these will be auto generated and available for download.

Leave a comment...