exampleparser.py now produces examples/example-list.js which is used by examples/example-list.html
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7111 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>OpenLayers Examples</title>
|
||||
<link rel="stylesheet" href="../examples/style.css" type="text/css" />
|
||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||
<style type="text/css">
|
||||
html, body {
|
||||
height: 100%;
|
||||
@@ -59,8 +59,8 @@
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" src="./Jugl.js"></script>
|
||||
<script type="text/javascript" src="examples2.js"></script>
|
||||
<script type="text/javascript" src="Jugl.js"></script>
|
||||
<script type="text/javascript" src="example-list.js"></script>
|
||||
<script type="text/javascript">
|
||||
// import
|
||||
var Jugl = window["http://jugl.tschaub.net/trunk/lib/Jugl.js"];
|
||||
@@ -157,8 +157,8 @@
|
||||
<body>
|
||||
<div id="toc">
|
||||
<p id="instructions">
|
||||
<label for="keywords">Filter by keywords</label>
|
||||
<input type="text" id="keywords" /><br />
|
||||
<label for="keywords">Filter by keywords</label><br />
|
||||
<input type="text" id="keywords" />
|
||||
<span id="count"></span>
|
||||
<a href="javascript:void showAll();">show all</a>
|
||||
</p>
|
||||
@@ -116,7 +116,7 @@ if __name__ == "__main__":
|
||||
if len(sys.argv) > 1:
|
||||
outFile = open(sys.argv[1],'w')
|
||||
else:
|
||||
outFile = open('../doc/examples2.js','w')
|
||||
outFile = open('../examples/example-list.js','w')
|
||||
|
||||
examplesLocation = '../examples'
|
||||
print 'Reading examples from %s and writing out to %s' % (examplesLocation, outFile.name)
|
||||
|
||||
Reference in New Issue
Block a user