From 11e7192a72d010b7976b8ba15b29f211d050acc2 Mon Sep 17 00:00:00 2001 From: Zachary Carter Date: Tue, 15 May 2012 21:42:25 -0700 Subject: [PATCH] appease jslint --- lib/cli.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cli.js b/lib/cli.js index de6c429..ef05083 100755 --- a/lib/cli.js +++ b/lib/cli.js @@ -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 = [];