Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
linting change
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuan Wang committed Jun 27, 2013
1 parent f862f5d commit 21da21a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions jshint.json → .jshintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"boss": true,
"camelcase": true,
"node": true,
"strict": true,
"white": false,
Expand Down
2 changes: 1 addition & 1 deletion lib/abstract.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Abstract.prototype.request = function(method, uri) {
if (args.length == 3) {
callback = args.pop()
}
if (method.toUpperCase() === 'GET' && json != null) {
if (method.toUpperCase() === 'GET' && json !== null) {

uri.push("?" + qs.stringify(json))
}
Expand Down
4 changes: 2 additions & 2 deletions lib/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ Application.prototype.createGroupMembership = function(acct, group, callback) {
return new GroupMemberships(_this.options).setData({
account: {
href: resAccts[0].getData('href')
}
, group: {
},
group: {
href: resGroups[0].getData('href')
}
}).create(function(errFinal, body) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/mocha --reporter list test/*.js",
"lint": "./node_modules/.bin/jshint --config jshint.json lib/*.js"
"lint": "./node_modules/.bin/jshint --config .jshintrc lib/*.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 21da21a

Please sign in to comment.