Make minor corrections to Map example.
commit58b8605bcb0edf87c35b37c0e11ef8a4229a69c8
authorevancz <info@elm-lang.org>
dateFri 29 Jun 2012, 12:55 (14 years ago)
parent1430e8f
Examples/elm-js/Maps/Map.elm+1−1
@@ -2,7 +2,7 @@
22module Map where
33
44import Signal.Window as Win
5−import Foreign.JavaScript
5+import Foreign.JavaScript.Experimental
66
77foreign import jsevent "provideMap"
88 (castElementToJSElement $ rectangle 640 360)
Examples/elm-js/Maps/MapHelp.js+1−1
@@ -19,5 +19,5 @@ lib.addEventListener('load', function() {
1919 }, 0);
2020 });
2121
22−lib.src = "http://www.openlayers.org/api/OpenLayers.js";s
22+lib.src = "http://www.openlayers.org/api/OpenLayers.js";
2323document.head.appendChild(lib);