Include webgl-debug.js
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -9,3 +9,4 @@
|
||||
/bin/plovr*.jar
|
||||
/jsdoc/
|
||||
/plovr*.jar
|
||||
/webgl-debug.js
|
||||
|
||||
6
Makefile
6
Makefile
@@ -46,6 +46,9 @@ GSLINT_EXCLUDES= \
|
||||
src/ol/renderer/TileLayerRenderer.js \
|
||||
src/ol/renderer/WebGL.js
|
||||
|
||||
.PHONY: all
|
||||
all: build webgl-debug.js
|
||||
|
||||
.PHONY: build
|
||||
build: $(PLOVR_JAR)
|
||||
java -jar $(PLOVR_JAR) build main.json >api.js
|
||||
@@ -58,5 +61,8 @@ serve: $(PLOVR_JAR)
|
||||
lint: $(CLOSURE_LINTER)
|
||||
gjslint --strict $(filter-out $(GSLINT_EXCLUDES),$(shell find externs src -name \*.js))
|
||||
|
||||
webgl-debug.js:
|
||||
curl https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/debug/webgl-debug.js > $@
|
||||
|
||||
$(PLOVR_JAR):
|
||||
curl http://plovr.googlecode.com/files/$(PLOVR_JAR) > $@
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="map"></div>
|
||||
<script src="webgl-debug.js" type="text/javascript"></script>
|
||||
<script src="http://localhost:9810/compile?id=ol&mode=RAW" type="text/javascript"></script>
|
||||
<script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user