forked from donejs/donejs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
103 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
.tmp* | ||
cookbook/* | ||
cookbook* | ||
site/docs/* | ||
scripts/key | ||
.DS_Store | ||
html/ | ||
.idea | ||
selenium.log | ||
packages/* | ||
tmp/* | ||
tmp* | ||
node_modules | ||
npm-debug.log | ||
backbone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule can
updated
from fec3dd to cc918f
Submodule funcunit
updated
18 files
+0 −28 | coverage/cobertura.ejs | |
+0 −370 | coverage/coverage.css | |
+0 −37 | coverage/coverage.html | |
+0 −262 | coverage/coverage.js | |
+0 −20 | jasmine/MIT.LICENSE | |
+0 −190 | jasmine/jasmine-html.js | |
+0 −166 | jasmine/jasmine.css | |
+0 −2,503 | jasmine/jasmine.js | |
+ − | jasmine/jasmine_favicon.png | |
+0 −12 | jasmine/test/jasmine.html | |
+0 −5 | jasmine/test/jasmine.js | |
+0 −58 | jasmine/test/spec/PlayerSpec.js | |
+0 −9 | jasmine/test/spec/SpecHelper.js | |
+0 −22 | jasmine/test/src/Player.js | |
+0 −7 | jasmine/test/src/Song.js | |
+11 −23 | pages/coverage.md | |
+7 −20 | qunit/qunit.js | |
+1 −1 | syn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = function (grunt) { | ||
|
||
}; |
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
jmvc/generate/templates/app/test/funcunit/(application_name)_test.js.ejs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
jmvc/generate/templates/app/test/qunit/(application_name)_test.js.ejs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
jmvc/generate/templates/model/test/qunit/(underscore)_test.js.ejs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,86 @@ | ||
# 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: | ||
<ul id='recipes'></ul> | ||
<form id='create' action=''></form> | ||
4. See your recipes app: | ||
Open cookbook/cookbook.html in a browser. | ||
5. Run functional tests in the browser: | ||
Open cookbook/funcunit.html in a browser (turn off popup blockers). | ||
6. Run functional tests with selenium: | ||
./funcunit/run selenium cookbook/funcunit.html | ||
7. Run unit tests in the browser: | ||
Open cookbook/qunit.html in a browser. | ||
8. Run unit tests with Rhino: | ||
./funcunit/run envjs cookbook/qunit.html | ||
11. Compress app: | ||
./steal/js cookbook/scripts/build.js | ||
12. Turn on production mode in callcenter.html and reload page: | ||
src='../steal/steal.production.js?cookbook' | ||
13. Generate docs: | ||
./steal/js cookbook/scripts/doc.js | ||
14. View docs: | ||
Open cookbook/docs.html. | ||
@page index JavaScriptMVC | ||
|
||
<div class="top"> | ||
<div class="topCorner"> | ||
<div class="right"></div> | ||
<div class="left"></div> | ||
</div> | ||
<div class="content"> | ||
<h1>JavaScriptMVC Documentation</h1> | ||
</div> | ||
<div class="bottomCorner"> | ||
<div class="right"></div> | ||
<div class="left"></div> | ||
</div> | ||
</div> | ||
|
||
JavaScriptMVC (JMVC) is a MIT licensed, client-side, JavaScript framework that | ||
builds maintainable, error-free, lightweight | ||
applications as quick as possible. It packs best-of-breed | ||
libraries and tools that are guaranteed to work together. It | ||
supports every browser that jQuery supports. | ||
|
||
If you are new to the framework, this page followed by | ||
the [tutorials] is the best place to start. | ||
|
||
JMVC's goodies are broken down into four sub-projects: | ||
|
||
- [canjs CanJS] - A client side MVC Framework | ||
- [jquerypp jQuery++] - A collection of useful DOM helpers and special events for jQuery | ||
- [stealjs StealJS] - JavaScript and CSS dependency management and build tools | ||
- [FuncUnit FuncUnit] - Functional and unit testing framework | ||
- [DocumentJS DocumentJS] - Documentation engine | ||
|
||
The remainder of this page highlights each sub-project. Click | ||
the the project links on the left for a more in-depth overview | ||
of the sub-project. | ||
|
||
## CanJS | ||
|
||
[canjs CanJS] is a JavaScript framework that makes | ||
building rich web applications easy and the MVC of | ||
JavaScriptMVC. The library is extremely lightweight | ||
(at only 11k minified and compressed) and full featured. | ||
|
||
Everything you want and need to know about CanJS | ||
[http://canjs.us can be found here.] | ||
|
||
## jQuery++ | ||
|
||
[jquerypp jQuery++] is a collection of useful jQuery libraries that provide the | ||
missing functionality necessary to implement and organize large-scale | ||
jQuery applications. It provides low-level utilities for things that | ||
jQuery doesn’t support. | ||
|
||
The best way to get started is the [jQuery++ overview](http://jquerypp.com). | ||
|
||
## StealJS | ||
|
||
[stealjs StealJS] is a "code manager" that keeps code beautiful and organized | ||
while developing and FAST for users in production. It's a collection of | ||
command-line and browser-based utilities enabling you to: | ||
|
||
- [steal load] JS, CSS, LESS, and CoffeeScript files and build them into a single production file. | ||
- [steal.generate generate] an application file/folder structure, complete with test, build and documentation scripts. | ||
- [steal.get install] 3rd party dependencies. | ||
- [steal.clean clean and JSLint] your code. | ||
- make your Ajax app [steal.html crawlable]. | ||
- log [steal.dev messages] in development that get removed in production builds. | ||
|
||
[stealjs StealJS] is a stand-alone tool that can be used without the rest of JavaScriptMVC. | ||
|
||
## FuncUnit | ||
|
||
[funcunit FuncUnit] is a web application testing framework that provides automated unit and | ||
functional testing. Tests are written and debugged in the browser with | ||
FuncUnit's short, terse, jQuery-like API. The same tests can be instantly | ||
automated, run by Envjs or Selenium. | ||
|
||
FuncUnit also supports extremely accurate [Syn event simulation] on practically every browser and | ||
system. | ||
|
||
## DocumentJS | ||
|
||
[DocumentJS DocumentJS] provides powerful JavaScript documenting | ||
capabilities. This whole website is built with it! DocumentJS can document practically | ||
anything. It's extensible. And with Markdown support, it's easy to document your code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.