Make minor corrections to Map example.

This commit is contained in:
evancz 2012-06-29 12:55:14 -05:00
parent 1430e8f467
commit 58b8605bcb
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
module Map where module Map where
import Signal.Window as Win import Signal.Window as Win
import Foreign.JavaScript import Foreign.JavaScript.Experimental
foreign import jsevent "provideMap" foreign import jsevent "provideMap"
(castElementToJSElement $ rectangle 640 360) (castElementToJSElement $ rectangle 640 360)

View file

@ -19,5 +19,5 @@ lib.addEventListener('load', function() {
}, 0); }, 0);
}); });
lib.src = "http://www.openlayers.org/api/OpenLayers.js";s lib.src = "http://www.openlayers.org/api/OpenLayers.js";
document.head.appendChild(lib); document.head.appendChild(lib);