git.iko.soy
/
elk
readme
files
commits
refs
on
master
help
sign in
Fix the Open Street Map example.
commit
eeb5df4a3ad480150d453f78d223a170200eaebf
author
evancz
<info@elm-lang.org>
date
Thu 3 Jan 2013, 00:30
(14 years ago)
parent
0205998
2 files changed
+2
−3
compare with master
unified
split
Examples/elm-js/Maps/Map.elm
+1
−2
elm/elm-runtime-0.7.js
+1
−1
Examples/elm-js/Maps/Map.elm
+1
−2
@@ -1,7 +1,6 @@
1
1
2
2
module Map where
3
3
4
−
import Window as Win
5
4
import JavaScript.Experimental
6
5
7
6
foreign import jsevent "provideMap"
@@ -12,4 +11,4 @@ foreign import jsevent "provideMap"
12
11
center (w,h) elem = container w h middle elem
13
12
maps = lift (castJSElementToElement 640 360) jsMaps
14
13
15
−
main = lift2 center
Win
.dimensions maps
14
+
main = lift2 center
Window
.dimensions maps
elm/elm-runtime-0.7.js
+1
−1
@@ -21,7 +21,7 @@ Elm.JavaScript = function() {
21
21
return
function
(node) {
22
22
return
[
"Element"
,Guid.guid(),
23
23
[
"EExternalHtml"
,node],
24
−
w,h,
1
,Nothing,Nothing];
24
+
w,h,
1
,
[
"
Nothing
"
],[
"
Nothing
"
]
];
25
25
}
26
26
}
27
27
}
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list