summaryrefslogtreecommitdiff
path: root/examples/indoor.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/indoor.html')
-rw-r--r--examples/indoor.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/indoor.html b/examples/indoor.html
index 47de9a2..269149f 100644
--- a/examples/indoor.html
+++ b/examples/indoor.html
@@ -30,9 +30,11 @@
LS.dataPath = '../data.json';
LS.imagePath = '../resources/images/';
- var map = LS.map('map', {
- indoor: true
- });
+ (function() {
+ var map = LS.map('map', {
+ indoor: true
+ });
+ })();
</script>
</body>
</html>