Hello world for various modes of compilation.

This commit is contained in:
Petr Pridal
2012-06-22 10:44:34 +02:00
parent 3a40925a7d
commit 5439d63e89
6 changed files with 147 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
/* This is a code which is going to be compiled together with the library */
function init() {
var map = ol.map()
.render('map')
.layers([ol.layer.osm()])
.center([45, 5])
.zoom(10);
}
window['init'] = init;