Skip to content

Commit f87c943

Browse files
committed
Relayout plugin, update dependencies.
1 parent 590fba3 commit f87c943

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "JSLint"]
2+
path = JSLint
3+
url = git://github.com/douglascrockford/JSLint.git

JSLint

Submodule JSLint added at 945f490

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
all: build
2+
3+
build:
4+
coffee -o lib -c src

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"bugs": {"url": "https://github.com/p-im/pim-script/issues"},
77
"author": "Benjie Gillam <benjie@jemjie.com> http://www.benjiegillam.com/",
88
"files": ["lib"],
9-
"main": "JSLint.coffee",
9+
"main": "lib/JSLint.js",
1010
"repository": {"type": "git", "url": "git://github.com/p-im/pim-script.git"},
11-
"dependencies": {"uglify-js": ">=1.3.0"},
11+
"dependencies": {"uglify-js": "git://github.com/BenjieGillam/UglifyJS.git#v1.2.6-jslint"},
1212
"devDependencies": {"coffee-script": ">=1.2.0"},
1313
"publish":false
1414
}

JSLint.coffee renamed to src/JSLint.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ parser = require("uglify-js").parser
55
uglify = require("uglify-js").uglify
66
ctx = vm.createContext()
77
ctx.console = console
8-
vm.runInContext fs.readFileSync(__dirname + "/jslint.js"), ctx
8+
vm.runInContext fs.readFileSync(__dirname + "/../JSLint/jslint.js"), ctx
99
JSLINT = ctx.JSLINT
1010

1111
VERBOSE = false

0 commit comments

Comments
 (0)