aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2014-05-23 12:45:19 -0400
committerTimmy Willison <timmywillisn@gmail.com>2014-05-23 13:01:03 -0400
commitb80700c75f2d4920ebdd81b6122fa0c4f65723b1 (patch)
tree96b14741f0d87e1b9d7b8d6eadc1d5d21ff004cd
parent97cbab51e20d39c0f13ea5ee890bb7f2a9817b41 (diff)
downloadjquery-b80700c75f2d4920ebdd81b6122fa0c4f65723b1.tar.gz
jquery-b80700c75f2d4920ebdd81b6122fa0c4f65723b1.zip
Build: run jshint and jscs on release scripts
-rw-r--r--Gruntfile.js4
-rw-r--r--build/release-notes.js3
2 files changed, 3 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index d1ad5d475..1527206f1 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -82,8 +82,7 @@ module.exports = function( grunt ) {
jshint: {
all: {
src: [
- "src/**/*.js", "Gruntfile.js", "test/**/*.js", "build/tasks/*",
- "build/{bower-install,release-notes,release}.js"
+ "src/**/*.js", "Gruntfile.js", "test/**/*.js", "build/**/*.js"
],
options: {
jshintrc: true
@@ -100,6 +99,7 @@ module.exports = function( grunt ) {
// Right know, check only test helpers
test: [ "test/data/testrunner.js", "test/data/testinit.js" ],
+ release: "build/*.js",
tasks: "build/tasks/*.js"
},
testswarm: {
diff --git a/build/release-notes.js b/build/release-notes.js
index 37e9f9a32..c9676f28f 100644
--- a/build/release-notes.js
+++ b/build/release-notes.js
@@ -17,7 +17,7 @@ http.request({
port: 80,
method: "GET",
path: "/query?status=closed&resolution=fixed&max=400&component=!web&order=component&milestone=" + version
-}, function (res) {
+}, function( res ) {
var data = [];
res.on( "data", function( chunk ) {
@@ -53,4 +53,3 @@ http.request({
});
}).end();
-