more cleanup

This commit is contained in:
mourner
2012-02-25 18:57:28 +02:00
parent bff72c2c8a
commit 24375fe88d
7 changed files with 16 additions and 18 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

View File

@ -86,13 +86,13 @@
<li><a href="http://nodejs.org/#download">Download and install Node</a></li> <li><a href="http://nodejs.org/#download">Download and install Node</a></li>
<li>Run this in the command line:<br /> <li>Run this in the command line:<br />
<pre><code>npm install -g jake <pre><code>npm install -g jake
npm install -g jshint npm install jshint
npm install -g uglify-js</code></pre></li> npm install uglify-js</code></pre></li>
<li>Run this command inside the Leaflet directory: <br /><input type="text" id="command2" /> <li>Run this command inside the Leaflet directory: <br /><input type="text" id="command2" />
</ol> </ol>
<h2>Building using Closure Compiler</h2> <h2>Building using Closure Compiler</h2>
<ol> <ol>
<li><a href="http://closure-compiler.googlecode.com/files/compiler-latest.zip">Download Closure Compiler</a> and extract it into <code>lib/closure-compiler</code> directory</li> <li><a href="http://closure-compiler.googlecode.com/files/compiler-latest.zip">Download Closure Compiler</a>, extract it into <code>closure-compiler</code> directory</li>
<li>Run this command in the root Leaflet directory: <br /><input type="text" id="command" /></li> <li>Run this command in the root Leaflet directory: <br /><input type="text" id="command" /></li>
</ol> </ol>
</div> </div>
@ -139,7 +139,7 @@ npm install -g uglify-js</code></pre></li>
} }
} }
var command = 'java -jar lib/closure-compiler/compiler.jar '; var command = 'java -jar closure-compiler/compiler.jar ';
for (var src in files) { for (var src in files) {
command += '--js src/' + src + ' '; command += '--js src/' + src + ' ';
} }

View File

@ -1,3 +0,0 @@
compiler.jar
COPYING
README

View File

@ -2,9 +2,9 @@
<html> <html>
<head> <head>
<title>Jasmine Test Runner</title> <title>Jasmine Test Runner</title>
<link rel="stylesheet" type="text/css" href="../lib/jasmine/jasmine.css"> <link rel="stylesheet" type="text/css" href="jasmine/jasmine.css">
<script type="text/javascript" src="../lib/jasmine/jasmine.js"></script> <script type="text/javascript" src="jasmine/jasmine.js"></script>
<script type="text/javascript" src="../lib/jasmine/jasmine-html.js"></script> <script type="text/javascript" src="jasmine/jasmine-html.js"></script>
<!-- source files --> <!-- source files -->