1
0
mirror of synced 2025-12-17 03:57:28 +08:00

appease jslint

This commit is contained in:
Zachary Carter
2012-05-15 21:42:25 -07:00
parent c42d2abffc
commit 11e7192a72

View File

@@ -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 = [];