Start the test cases.
Showing
5 changed files
with
51 additions
and
2 deletions
... | @@ -229,7 +229,6 @@ module.exports = function (grunt) { | ... | @@ -229,7 +229,6 @@ module.exports = function (grunt) { |
229 | 'test/specs/**/*.spec.js', | 229 | 'test/specs/**/*.spec.js', |
230 | ], | 230 | ], |
231 | options: { | 231 | options: { |
232 | specs: 'test/specs/**/*.spec.js', | ||
233 | template: require('grunt-template-jasmine-istanbul'), | 232 | template: require('grunt-template-jasmine-istanbul'), |
234 | templateOptions: jasmineInstanbulTemplateOptions('grunt-template-jasmine-requirejs', jasmineRequirejsTemplateOptions(true)) | 233 | templateOptions: jasmineInstanbulTemplateOptions('grunt-template-jasmine-requirejs', jasmineRequirejsTemplateOptions(true)) |
235 | } | 234 | } | ... | ... |
... | @@ -15,7 +15,12 @@ | ... | @@ -15,7 +15,12 @@ |
15 | "test" | 15 | "test" |
16 | ], | 16 | ], |
17 | "dependencies": { | 17 | "dependencies": { |
18 | "backbone": "~1.1.0", | ||
19 | "backbone-validation": "0.9.1", | ||
20 | "bootstrap": "~3.1.0", | ||
21 | "jquery": "~1.10.2", | ||
22 | "requirejs": "~2.1.10", | ||
18 | "rivets": "~0.6.6", | 23 | "rivets": "~0.6.6", |
19 | "requirejs": "~2.1.10" | 24 | "underscore": "~1.6.0" |
20 | } | 25 | } |
21 | } | 26 | } | ... | ... |
src/scripts/config.js
0 → 100644
1 | /* global require:true */ | ||
2 | var require; | ||
3 | require = (function() { | ||
4 | 'use strict'; | ||
5 | |||
6 | var require = { | ||
7 | baseUrl: 'scripts', | ||
8 | shim: { | ||
9 | bootstrap: { | ||
10 | deps: [ | ||
11 | 'jquery' | ||
12 | ] | ||
13 | } | ||
14 | }, | ||
15 | paths: { | ||
16 | 'backbone-validation': '../lib/backbone-validation/dist/backbone-validation-amd', | ||
17 | backbone: '../lib/backbone/backbone', | ||
18 | underscore: '../lib/underscore/underscore', | ||
19 | rivets: '../lib/rivets/dist/rivets', | ||
20 | bootstrap: '../lib/bootstrap/dist/js/bootstrap', | ||
21 | jquery: '../lib/jquery/dist/jquery' | ||
22 | } | ||
23 | }; | ||
24 | |||
25 | return require; | ||
26 | })(); |
src/scripts/main.js
0 → 100644
test/specs/rivets-error-binder.spec.js
0 → 100644
-
Please register or sign in to post a comment