This commit is contained in:
Søren Debois 2016-03-15 17:53:41 +01:00
parent 0e04834580
commit 7e58d4f472
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ The library has a tiny native component (for measuring geometry of rendered
Initial page load of the demo will produce a flicker, which can only be
avoided if you set up the MDL css to load before elm does. Use the file
`page.html` as a template. To build the demo in this mode, comment out
[line 153 in `examples/Demo.elm`](https://github.com/debois/elm-mdl/blob/master/examples/Demo.elm#L153)
[line 154 in `examples/Demo.elm`](https://github.com/debois/elm-mdl/blob/master/examples/Demo.elm#L154)
and build the demo like this:
> elm-make examples/Demo.elm --output elm.js

View file

@ -149,7 +149,7 @@ view addr model =
}
{- The following line is not needed when you manually set up
your html, as done with page.html. Removing it will then
fix the flicker you see on load.
fix the flicker you see on load.
-}
|> Material.topWithColors Material.Teal Material.Red