appease jslint
This commit is contained in:
@@ -87,8 +87,10 @@ function main (args) {
|
||||
|
||||
// from http://stackoverflow.com/questions/1359761/sorting-a-json-object-in-javascript
|
||||
function sortObject(o) {
|
||||
if (Object.prototype.toString.call(o) != '[object Object]')
|
||||
if (Object.prototype.toString.call(o) !== '[object Object]') {
|
||||
return o;
|
||||
}
|
||||
|
||||
var sorted = {},
|
||||
key, a = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user