Elm 0.10 → 0.10.0.1
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
- Elm.cabal +1/−1
- data/elm-runtime.js +2/−2
Elm.cabal view
@@ -1,5 +1,5 @@ Name: Elm-Version: 0.10+Version: 0.10.0.1 Synopsis: The Elm language module. Description: Elm aims to make client-side web-development more pleasant. It is a statically/strongly typed, functional reactive
data/elm-runtime.js view
@@ -35,7 +35,7 @@ mod:mod, pi:Math.PI,- e:Math.e,+ e:Math.E, cos:Math.cos, sin:Math.sin, tan:Math.tan,@@ -888,7 +888,7 @@ return v ? "True" : "False"; } else if (type === "number") { return v+"";- } else if (v.isChar && v instanceof String) {+ } else if ((v instanceof String) && v.isChar) { return "'" + addSlashes(v) + "'"; } else if (type === "string") { return '"' + addSlashes(v) + '"';