From 104055a0b538909681d7a8c1a1ae236d8b4858e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Debois?= Date: Tue, 15 Mar 2016 17:50:58 +0100 Subject: [PATCH] Update. --- elm.js | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/elm.js b/elm.js index 29aad16..5a44a8a 100644 --- a/elm.js +++ b/elm.js @@ -11868,7 +11868,6 @@ Elm.Main.make = function (_elm) { $Html = Elm.Html.make(_elm), $Html$Attributes = Elm.Html.Attributes.make(_elm), $List = Elm.List.make(_elm), - $Material = Elm.Material.make(_elm), $Material$Layout = Elm.Material.Layout.make(_elm), $Maybe = Elm.Maybe.make(_elm), $Result = Elm.Result.make(_elm), @@ -11886,11 +11885,11 @@ Elm.Main.make = function (_elm) { _U.list([$Html.text("Material Design")]))]))]); var drawer = _U.list([$Material$Layout.title("Example drawer") ,$Material$Layout.navigation(_U.list([A2($Material$Layout.link, - _U.list([$Html$Attributes.href("https://groups.google.com/forum/#!forum/elm-discuss")]), - _U.list([$Html.text("Elm Discuss")])) + _U.list([$Html$Attributes.href("https://github.com/debois/elm-mdl")]), + _U.list([$Html.text("github")])) ,A2($Material$Layout.link, - _U.list([$Html$Attributes.href("http://elm-lang.org")]), - _U.list([$Html.text("Elm")]))]))]); + _U.list([$Html$Attributes.href("http://package.elm-lang.org/packages/debois/elm-mdl/1.0.0/")]), + _U.list([$Html.text("elm-package")]))]))]); var TextfieldAction = function (a) { return {ctor: "TextfieldAction",_0: a};}; var ButtonsAction = function (a) { return {ctor: "ButtonsAction",_0: a};}; var tabs = _U.list([{ctor: "_Tuple2" @@ -11926,13 +11925,10 @@ Elm.Main.make = function (_elm) { A2($Array.get,model.layout.selectedTab,tabViews)), addr, model)); - return A3($Material.topWithColors, - $Material.Teal, - $Material.Red, - A3($Material$Layout.view, + return A3($Material$Layout.view, A2($Signal.forwardTo,addr,LayoutAction), model.layout, - {header: $Maybe.Just(header),drawer: $Maybe.Just(drawer),tabs: $Maybe.Just(tabTitles),main: _U.list([top])})); + {header: $Maybe.Just(header),drawer: $Maybe.Just(drawer),tabs: $Maybe.Just(tabTitles),main: _U.list([top])}); }); var inputs = _U.list([$Material$Layout.setupSizeChangeSignal(LayoutAction)]); var layoutModel = _U.update($Material$Layout.defaultLayoutModel,{state: $Material$Layout.initState($List.length(tabs))});