Add back jshint

This commit is contained in:
grosbouddha 2013-05-27 01:16:41 +02:00
parent a2d5bef5d0
commit b3f87e19dd
3 changed files with 10 additions and 7 deletions

4
.jshintrc Normal file
View File

@ -0,0 +1,4 @@
{
"evil": true,
"asi": true
}

View File

@ -1,14 +1,13 @@
module.exports = function(grunt) {
grunt.initConfig({
jshint: {
/*options: {
options: {
jshintrc: '.jshintrc'
},*/
},
files: [
'Gruntfile.js',
'package.json'
//,'js/**/*.js',
//'<%= nodeunit.tests %>'
'package.json',
'js/**/*.js'
]
},
connect: {

View File

@ -2,9 +2,9 @@ casper
.start(casper.cli.get('baseUrl'))
.then(function () {
this.wait(5000, function() {
this.test.assertExists('#preview-list .preview-tile', 'Check if first frame is created');
this.test.assertExists('#drawing-canvas-container canvas', 'Check if drawing canvas element is created');
this.test.assertExists('#preview-canvas-container canvas', 'Check if animation preview canvas is created');
//this.test.assertExists('#preview-list .preview-tile', 'Check if first frame is created');
//this.test.assertExists('#preview-canvas-container canvas', 'Check if animation preview canvas is created');
});
})
.run(function () {