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
|
// from http://stackoverflow.com/questions/1359761/sorting-a-json-object-in-javascript
|
||||||
function sortObject(o) {
|
function sortObject(o) {
|
||||||
if (Object.prototype.toString.call(o) != '[object Object]')
|
if (Object.prototype.toString.call(o) !== '[object Object]') {
|
||||||
return o;
|
return o;
|
||||||
|
}
|
||||||
|
|
||||||
var sorted = {},
|
var sorted = {},
|
||||||
key, a = [];
|
key, a = [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user