Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2014-05-07 04:59:12 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-05-08 05:00:51 +0400
commit3294bfaf6d0f01f27bd7ae00e4508187260c84f3 (patch)
tree5071ce8e06d414a7a8f9b49486cb6837579ce2f6
parent235002da9d22ff6ea24ec3e25a2e2a0e441caf55 (diff)
remove the 'use strict' and jshint bits
-rw-r--r--lib/cache.js2
-rw-r--r--lib/cache/add-local-tarball.js2
-rw-r--r--lib/cache/add-local.js2
-rw-r--r--lib/cache/add-named.js2
-rw-r--r--lib/cache/add-remote-git.js2
-rw-r--r--lib/cache/add-remote-tarball.js2
-rw-r--r--lib/cache/get-stat.js2
-rw-r--r--lib/cache/maybe-github.js2
-rw-r--r--lib/utils/depr-check.js2
-rw-r--r--lib/utils/locker.js2
10 files changed, 0 insertions, 20 deletions
diff --git a/lib/cache.js b/lib/cache.js
index 8038e222f..e4b53c5f5 100644
--- a/lib/cache.js
+++ b/lib/cache.js
@@ -1,5 +1,3 @@
-'use strict';
-
// XXX lib/utils/tar.js and this file need to be rewritten.
// URL-to-cache folder mapping:
diff --git a/lib/cache/add-local-tarball.js b/lib/cache/add-local-tarball.js
index a26debd8b..ce0741b0d 100644
--- a/lib/cache/add-local-tarball.js
+++ b/lib/cache/add-local-tarball.js
@@ -1,5 +1,3 @@
-'use strict';
-
var mkdir = require("mkdirp")
, assert = require("assert")
, fs = require("graceful-fs")
diff --git a/lib/cache/add-local.js b/lib/cache/add-local.js
index 7b5923574..66d4412a0 100644
--- a/lib/cache/add-local.js
+++ b/lib/cache/add-local.js
@@ -1,5 +1,3 @@
-'use strict';
-
var fs = require("graceful-fs")
, assert = require("assert")
, path = require("path")
diff --git a/lib/cache/add-named.js b/lib/cache/add-named.js
index caeb7cc24..7405e9091 100644
--- a/lib/cache/add-named.js
+++ b/lib/cache/add-named.js
@@ -1,5 +1,3 @@
-'use strict';
-
var path = require("path")
, assert = require("assert")
, fs = require("graceful-fs")
diff --git a/lib/cache/add-remote-git.js b/lib/cache/add-remote-git.js
index 8ef268bab..35a0dae4b 100644
--- a/lib/cache/add-remote-git.js
+++ b/lib/cache/add-remote-git.js
@@ -1,5 +1,3 @@
-'use strict';
-
var mkdir = require("mkdirp")
, assert = require("assert")
, spawn = require("child_process").spawn
diff --git a/lib/cache/add-remote-tarball.js b/lib/cache/add-remote-tarball.js
index 7d5a9ae6f..e2d094d59 100644
--- a/lib/cache/add-remote-tarball.js
+++ b/lib/cache/add-remote-tarball.js
@@ -1,5 +1,3 @@
-'use strict';
-
var mkdir = require("mkdirp")
, assert = require("assert")
, log = require("npmlog")
diff --git a/lib/cache/get-stat.js b/lib/cache/get-stat.js
index c71bb7df3..6eff78baa 100644
--- a/lib/cache/get-stat.js
+++ b/lib/cache/get-stat.js
@@ -1,5 +1,3 @@
-'use strict';
-
var mkdir = require("mkdirp")
, fs = require("graceful-fs")
, log = require("npmlog")
diff --git a/lib/cache/maybe-github.js b/lib/cache/maybe-github.js
index fd04eadc8..fee64c5df 100644
--- a/lib/cache/maybe-github.js
+++ b/lib/cache/maybe-github.js
@@ -1,5 +1,3 @@
-'use strict';
-
var url = require("url")
, assert = require("assert")
, log = require("npmlog")
diff --git a/lib/utils/depr-check.js b/lib/utils/depr-check.js
index 6252b33c2..7166348b0 100644
--- a/lib/utils/depr-check.js
+++ b/lib/utils/depr-check.js
@@ -1,5 +1,3 @@
-'use strict';
-
var log = require("npmlog")
var deprecated = {}
diff --git a/lib/utils/locker.js b/lib/utils/locker.js
index e3c8f2e80..9e322d7af 100644
--- a/lib/utils/locker.js
+++ b/lib/utils/locker.js
@@ -1,5 +1,3 @@
-'use strict';
-/* jshint node: true */
var crypto = require("crypto")
var path = require("path")