From c319b9750c2e60a843619e8a8beaa8cdb61c360c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Debois?= Date: Wed, 16 Mar 2016 06:32:41 +0100 Subject: [PATCH] Renamed Aux.Elm -> Helpers.Elm; apparently Aux* is an illegal filename on Windows (#1). --- src/Material/Button.elm | 8 ++++---- src/Material/Grid.elm | 2 +- src/Material/{Aux.elm => Helpers.elm} | 2 +- src/Material/Layout.elm | 2 +- src/Material/Ripple.elm | 3 +-- src/Material/Textfield.elm | 2 +- 6 files changed, 9 insertions(+), 10 deletions(-) rename src/Material/{Aux.elm => Helpers.elm} (96%) diff --git a/src/Material/Button.elm b/src/Material/Button.elm index e6e31d2..f278daa 100644 --- a/src/Material/Button.elm +++ b/src/Material/Button.elm @@ -42,7 +42,7 @@ import Html.Attributes exposing (..) import Html.Events exposing (onClick) import Effects exposing (Effects, none) -import Material.Aux as Aux +import Material.Helpers as Helpers import Material.Ripple as Ripple {-| MDL button. @@ -126,8 +126,8 @@ view kind addr model coloring html = -- Kind. , (kind, kind /= "") ] - , Aux.blurOn "mouseup" - , Aux.blurOn "mouseleave" + , Helpers.blurOn "mouseup" + , Helpers.blurOn "mouseleave" , onClick addr Click ] (case model of @@ -135,7 +135,7 @@ view kind addr model coloring html = Ripple.view (Signal.forwardTo addr Ripple) [ class "mdl-button__ripple-container" - , Aux.blurOn "mouseup" ] + , Helpers.blurOn "mouseup" ] ripple :: html _ -> html) diff --git a/src/Material/Grid.elm b/src/Material/Grid.elm index 408e27a..9385e53 100644 --- a/src/Material/Grid.elm +++ b/src/Material/Grid.elm @@ -79,7 +79,7 @@ individual `CellConfig` elements using `size`, `offset`, and `align`. import Html exposing (..) import Html.Attributes exposing (..) import String -import Material.Aux exposing (clip, filter) +import Material.Helpers exposing (clip, filter) {-| The `spacing` parameter indicates whether or not the grid should have diff --git a/src/Material/Aux.elm b/src/Material/Helpers.elm similarity index 96% rename from src/Material/Aux.elm rename to src/Material/Helpers.elm index a549fe7..207a9dd 100644 --- a/src/Material/Aux.elm +++ b/src/Material/Helpers.elm @@ -1,4 +1,4 @@ -module Material.Aux where +module Material.Helpers where import Html import Html.Attributes diff --git a/src/Material/Layout.elm b/src/Material/Layout.elm index 1bd795e..36cc964 100644 --- a/src/Material/Layout.elm +++ b/src/Material/Layout.elm @@ -51,7 +51,7 @@ import Html.Events exposing (onClick) import Effects exposing (Effects) import Window -import Material.Aux exposing (..) +import Material.Helpers exposing (..) import Material.Ripple as Ripple import Material.Icon as Icon diff --git a/src/Material/Ripple.elm b/src/Material/Ripple.elm index 79f39bf..85fb14c 100644 --- a/src/Material/Ripple.elm +++ b/src/Material/Ripple.elm @@ -6,7 +6,7 @@ import Html.Events import Json.Decode as Json exposing ((:=), at) import Effects exposing (Effects, tick, none) -import Material.Aux exposing (effect) +import Material.Helpers exposing (effect) import DOM @@ -117,7 +117,6 @@ update action model = downOn : String -> Signal.Address Action -> Attribute downOn name addr = - --Material.Aux.on Html.Events.on name geometryDecoder diff --git a/src/Material/Textfield.elm b/src/Material/Textfield.elm index a897528..3bc1fb7 100644 --- a/src/Material/Textfield.elm +++ b/src/Material/Textfield.elm @@ -34,7 +34,7 @@ import Html exposing (..) import Html.Attributes exposing (..) import Html.Events exposing (..) -import Material.Aux exposing (..) +import Material.Helpers exposing (filter) -- MODEL