diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-03-08 19:29:15 -0500 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-03-08 19:29:15 -0500 |
commit | 4faaccdf8dafd35acfe6e611f10e5f2bec1cc77d (patch) | |
tree | 40050b8b52c1c5511e8f22637f66ad3ae2291165 | |
parent | 29348178bc2c88b2ed6ce394a6ffafadcbb8220c (diff) | |
download | fosdem-2018-presentation-4faaccdf8dafd35acfe6e611f10e5f2bec1cc77d.tar fosdem-2018-presentation-4faaccdf8dafd35acfe6e611f10e5f2bec1cc77d.tar.gz |
fix grunt jshint config
-rw-r--r-- | Gruntfile.js | 19 | ||||
-rw-r--r-- | js/reveal.js | 2 | ||||
-rw-r--r-- | js/reveal.min.js | 2 |
3 files changed, 10 insertions, 13 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index bb3cc35..6fa4014 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -15,10 +15,6 @@ module.exports = function(grunt) { ' */' }, - jshint: { - files: [ 'Gruntfile.js', 'js/reveal.js' ] - }, - // Tests will be added soon qunit: { files: [ 'test/**/*.html' ] @@ -54,7 +50,7 @@ module.exports = function(grunt) { 'css/theme/moon.css': 'css/theme/source/moon.scss', 'css/theme/solarized.css': 'css/theme/source/solarized.scss' } - }, + } }, jshint: { @@ -69,13 +65,14 @@ module.exports = function(grunt) { undef: true, eqnull: true, browser: true, - expr: true + expr: true, + globals: { + head: false, + module: false, + console: false + } }, - globals: { - head: false, - module: false, - console: false - } + files: [ 'Gruntfile.js', 'js/reveal.js' ] }, watch: { diff --git a/js/reveal.js b/js/reveal.js index 5f9cb46..9ca8a41 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -632,7 +632,7 @@ var Reveal = (function(){ return l.getAttribute( 'data-fragment-index' ) - r.getAttribute( 'data-fragment-index'); } ); - return a + return a; } diff --git a/js/reveal.min.js b/js/reveal.min.js index ad2f619..41eaac7 100644 --- a/js/reveal.min.js +++ b/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 * MIT licensed * |