diff --git a/.jshintrc b/.jshintrc index b560fa9c..02e5a34e 100644 --- a/.jshintrc +++ b/.jshintrc @@ -18,6 +18,7 @@ "jQuery" : true, "eg" : true, "window" : true, + "document" : true, "Hammer" : true, "navigator" : true, "requestAnimationFrame" : true, diff --git a/Gruntfile.js b/Gruntfile.js index f9933747..b946ff2c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -30,7 +30,7 @@ module.exports = function(grunt) { } }, build: { - src: ["src/polyfill/**/*.js", "src/extend.js", "src/class.js", "src/component.js", "src/*.js" ], + src: ["src/polyfill/**/*.js","src/customEvent/*.js", "src/extend.js", "src/class.js", "src/component.js", "src/*.js" ], dest: "dist/<%=pkg.outputname%>.js" }, }, diff --git a/test/scrollEnd.test.html b/test/scrollEnd.test.html index ac5a5585..9d75d610 100644 --- a/test/scrollEnd.test.html +++ b/test/scrollEnd.test.html @@ -26,7 +26,7 @@
- +