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-27 15:17:51 -0400
commit43756f6e7afb3ee8fe8100ef530e04f5b0cc4cae (patch)
tree342494a519bb06c3d73ac1467ea733ef1824e5ac
parentfdff2a9ac3584d2986487a596646c946083e319d (diff)
downloadjquery-43756f6e7afb3ee8fe8100ef530e04f5b0cc4cae.tar.gz
jquery-43756f6e7afb3ee8fe8100ef530e04f5b0cc4cae.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 66d2f894e..73692cbbb 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -81,8 +81,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
@@ -99,6 +98,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();
-