summaryrefslogtreecommitdiff
path: root/examples/basic.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic.html')
-rw-r--r--examples/basic.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/basic.html b/examples/basic.html
index 07a8382..af91d0c 100644
--- a/examples/basic.html
+++ b/examples/basic.html
@@ -28,7 +28,9 @@
<script type="text/javascript">
LS.dataPath = '../data.json';
- var map = LS.map('map');
+ (function() {
+ var map = LS.map('map');
+ })();
</script>
</body>
</html>