js-preflight 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/Gemfile +4 -0
- data/README.md +14 -0
- data/Rakefile +2 -0
- data/bin/jslint +4270 -0
- data/bin/jsmin +0 -0
- data/bin/preflight +158 -0
- data/js-preflight.gemspec +22 -0
- data/lib/js-preflight/lint.rb +32 -0
- data/lib/js-preflight/pack.rb +27 -0
- data/lib/js-preflight/scanner.rb +17 -0
- data/lib/js-preflight/version.rb +5 -0
- data/lib/js-preflight.rb +12 -0
- metadata +84 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
js-preflight
|
2
|
+
============
|
3
|
+
Run jslint and jsmin on all .js files sourced in html files provided as arguments.
|
4
|
+
for details:
|
5
|
+
preflight --help
|
6
|
+
|
7
|
+
Bugs
|
8
|
+
----
|
9
|
+
Output isn't perfect yet; you'll need to move the packed .js file yourself for now
|
10
|
+
|
11
|
+
Acknowledgements
|
12
|
+
----------------
|
13
|
+
jsmin and jslint by the excellent Doug Crockford.
|
14
|
+
Executable jslint provided by Andy Walker, see http://whereisandy.com/code/jslint/
|
data/Rakefile
ADDED