Skip to content

Commit 2752fec

Browse files
Merge pull request #12 from agrafix/master
make compile under 0.16
2 parents 1dfa5dd + b73771e commit 2752fec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

elm-package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "6.3.3",
2+
"version": "6.3.4",
33
"summary": "Html shorthand for Bootstrap",
44
"repository": "https://github.com/circuithub/elm-bootstrap-html.git",
55
"license": "MIT",
@@ -11,7 +11,7 @@
1111
"Bootstrap.Html.Internal"
1212
],
1313
"dependencies": {
14-
"circuithub/elm-html-shorthand": "8.0.0 <= v < 10.0.0",
14+
"circuithub/elm-html-shorthand": "10.0.0 <= v < 11.0.0",
1515
"elm-lang/core": "2.0.0 <= v < 4.0.0",
1616
"evancz/elm-html": "4.0.0 <= v < 5.0.0"
1717
},

src/Bootstrap/Html/Internal.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,5 @@ btncNoevent c typ {icon,label,tooltip} =
7070
colOffset : String -> Int -> Int -> ClassString
7171
colOffset gridsize colspan offset =
7272
let prefix = "col" ++ '-' `String.cons` gridsize ++ "-"
73-
in if | offset > 0 -> prefix ++ toString colspan ++ ' ' `String.cons` prefix ++ "offset-" ++ toString offset
74-
| otherwise -> prefix ++ toString colspan
73+
in if offset > 0 then prefix ++ toString colspan ++ ' ' `String.cons` prefix ++ "offset-" ++ toString offset
74+
else prefix ++ toString colspan

0 commit comments

Comments
 (0)