[Pkg-javascript-commits] [json-js] 17/85: /*jslint*/

Jonas Smedegaard dr at jones.dk
Mon Mar 14 10:39:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository json-js.

commit 36df833f552168056dc55152acaf28446ab4ef42
Author: Douglas Crockford <douglas at crockford.com>
Date:   Tue Aug 30 09:18:38 2011 -0700

    /*jslint*/
---
 json.js  | 6 +++---
 json2.js | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/json.js b/json.js
index ef5f30e..1c2b253 100755
--- a/json.js
+++ b/json.js
@@ -1,6 +1,6 @@
 /*
     json.js
-    2011-02-23
+    2011-08-30
 
     Public Domain
 
@@ -183,7 +183,7 @@
     redistribute.
 */
 
-/*jslint evil: true, regexp: false */
+/*jslint evil: true, regexp: true, unparam: true */
 
 /*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
     call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
@@ -202,7 +202,7 @@ if (!JSON) {
 }
 
 (function () {
-    "use strict";
+    'use strict';
 
     function f(n) {
         // Format integers to have at least two digits.
diff --git a/json2.js b/json2.js
index b4c02d3..eda9e0c 100755
--- a/json2.js
+++ b/json2.js
@@ -1,6 +1,6 @@
 /*
-    http://www.JSON.org/json2.js
-    2011-02-23
+    json2.js
+    2011-08-30
 
     Public Domain.
 
@@ -146,7 +146,7 @@
     redistribute.
 */
 
-/*jslint evil: true, strict: false, regexp: false */
+/*jslint evil: true, regexp: true, unparam: true */
 
 /*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
     call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
@@ -165,7 +165,7 @@ if (!JSON) {
 }
 
 (function () {
-    "use strict";
+    'use strict';
 
     function f(n) {
         // Format integers to have at least two digits.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/json-js.git



More information about the Pkg-javascript-commits mailing list