mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-07-23 00:34:55 +00:00
more cleanup
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
node_modules
|
@ -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 + ' ';
|
||||||
}
|
}
|
||||||
@ -154,7 +154,7 @@ npm install -g uglify-js</code></pre></li>
|
|||||||
this.focus();
|
this.focus();
|
||||||
this.select();
|
this.select();
|
||||||
};
|
};
|
||||||
|
|
||||||
commandInput.onclick = inputSelect;
|
commandInput.onclick = inputSelect;
|
||||||
commandInput2.onclick = inputSelect;
|
commandInput2.onclick = inputSelect;
|
||||||
|
|
||||||
|
3
lib/closure-compiler/.gitignore
vendored
3
lib/closure-compiler/.gitignore
vendored
@ -1,3 +0,0 @@
|
|||||||
compiler.jar
|
|
||||||
COPYING
|
|
||||||
README
|
|
@ -2,24 +2,24 @@
|
|||||||
<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 -->
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
L = 'test'; //to test L#noConflict later
|
L = 'test'; //to test L#noConflict later
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../debug/leaflet-include.js"></script>
|
<script type="text/javascript" src="../debug/leaflet-include.js"></script>
|
||||||
|
|
||||||
|
|
||||||
<!-- spec files -->
|
<!-- spec files -->
|
||||||
|
|
||||||
<script type="text/javascript" src="suites/SpecHelper.js"></script>
|
<script type="text/javascript" src="suites/SpecHelper.js"></script>
|
||||||
<script type="text/javascript" src="suites/LeafletSpec.js"></script>
|
<script type="text/javascript" src="suites/LeafletSpec.js"></script>
|
||||||
|
|
||||||
<!-- /core -->
|
<!-- /core -->
|
||||||
<script type="text/javascript" src="suites/core/UtilSpec.js"></script>
|
<script type="text/javascript" src="suites/core/UtilSpec.js"></script>
|
||||||
<script type="text/javascript" src="suites/core/ClassSpec.js"></script>
|
<script type="text/javascript" src="suites/core/ClassSpec.js"></script>
|
||||||
@ -42,7 +42,7 @@
|
|||||||
<!-- /layer -->
|
<!-- /layer -->
|
||||||
<script type="text/javascript" src="suites/layer/TileLayerSpec.js"></script>
|
<script type="text/javascript" src="suites/layer/TileLayerSpec.js"></script>
|
||||||
<script type="text/javascript" src="suites/layer/vector/PolylineGeometrySpec.js"></script>
|
<script type="text/javascript" src="suites/layer/vector/PolylineGeometrySpec.js"></script>
|
||||||
|
|
||||||
<!-- /map -->
|
<!-- /map -->
|
||||||
<script type="text/javascript" src="suites/map/MapSpec.js"></script>
|
<script type="text/javascript" src="suites/map/MapSpec.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
Reference in New Issue
Block a user