Ver código fonte

fix grunt jshint config

Hakim El Hattab 11 anos atrás
pai
commit
4faaccdf8d
3 arquivos alterados com 10 adições e 13 exclusões
  1. 8 11
      Gruntfile.js
  2. 1 1
      js/reveal.js
  3. 1 1
      js/reveal.min.js

+ 8 - 11
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: {

+ 1 - 1
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;
 
 	}
 

+ 1 - 1
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
  *