Browse Source

fix grunt jshint config

embed
Hakim El Hattab 12 years ago
parent
commit
4faaccdf8d
  1. 11
      Gruntfile.js
  2. 2
      js/reveal.js
  3. 2
      js/reveal.min.js

11
Gruntfile.js

@ -15,10 +15,6 @@ module.exports = function(grunt) {
' */' ' */'
}, },
jshint: {
files: [ 'Gruntfile.js', 'js/reveal.js' ]
},
// Tests will be added soon // Tests will be added soon
qunit: { qunit: {
files: [ 'test/**/*.html' ] files: [ 'test/**/*.html' ]
@ -54,7 +50,7 @@ module.exports = function(grunt) {
'css/theme/moon.css': 'css/theme/source/moon.scss', 'css/theme/moon.css': 'css/theme/source/moon.scss',
'css/theme/solarized.css': 'css/theme/source/solarized.scss' 'css/theme/solarized.css': 'css/theme/source/solarized.scss'
} }
}, }
}, },
jshint: { jshint: {
@ -69,14 +65,15 @@ module.exports = function(grunt) {
undef: true, undef: true,
eqnull: true, eqnull: true,
browser: true, browser: true,
expr: true expr: true,
},
globals: { globals: {
head: false, head: false,
module: false, module: false,
console: false console: false
} }
}, },
files: [ 'Gruntfile.js', 'js/reveal.js' ]
},
watch: { watch: {
main: { main: {

2
js/reveal.js

@ -632,7 +632,7 @@ var Reveal = (function(){
return l.getAttribute( 'data-fragment-index' ) - r.getAttribute( 'data-fragment-index'); return l.getAttribute( 'data-fragment-index' ) - r.getAttribute( 'data-fragment-index');
} ); } );
return a return a;
} }

2
js/reveal.min.js

@ -1,5 +1,5 @@
/*! /*!
* reveal.js 2.3.0 (2013-03-08, 19:04) * reveal.js 2.3.0 (2013-03-08, 19:28)
* http://lab.hakim.se/reveal-js * http://lab.hakim.se/reveal-js
* MIT licensed * MIT licensed
* *

Loading…
Cancel
Save