├── .gitignore ├── LICENSE ├── README.md ├── elm-package.json └── src ├── Html.elm └── Html ├── Attributes.elm ├── Events.elm └── Lazy.elm /.gitignore: -------------------------------------------------------------------------------- 1 | elm-stuff -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014, Evan Czaplicki 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | * Neither the name of the {organization} nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 22 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 24 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 25 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 26 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DEPRECATED 2 | 3 | Use [`elm-lang/html`](http://package.elm-lang.org/packages/elm-lang/html/latest/) instead. It's way better! 4 | 5 | 6 | ## Story 7 | 8 | When Elm 0.17 came out, [the changes](https://github.com/elm-lang/elm-platform/blob/master/upgrade-docs/0.17.md) included a revamp of the HTML API to replace some old concepts (signals and address) with something simpler. To make that possible, it was necessary to reimplement this library from scratch. That also seemed like a great opportunity to officially graduate this library to [the elm-lang organization](https://github.com/elm-lang/). Through all this, the public API changed very little. -------------------------------------------------------------------------------- /elm-package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "5.0.0", 3 | "summary": "Fast HTML, rendered with virtual DOM diffing", 4 | "repository": "https://github.com/evancz/elm-html.git", 5 | "license": "BSD3", 6 | "source-directories": [ 7 | "src" 8 | ], 9 | "exposed-modules": [ 10 | "Html", 11 | "Html.Attributes", 12 | "Html.Events", 13 | "Html.Lazy" 14 | ], 15 | "dependencies": { 16 | "elm-lang/core": "2.0.0 <= v < 4.0.0", 17 | "evancz/virtual-dom": "2.0.0 <= v < 3.0.0" 18 | }, 19 | "elm-version": "0.15.0 <= v < 0.17.0" 20 | } -------------------------------------------------------------------------------- /src/Html.elm: -------------------------------------------------------------------------------- 1 | module Html where 2 | 3 | {-| This whole package has moved to [elm-lang/html][html]. 4 | 5 | [html]: http://package.elm-lang.org/packages/elm-lang/html/latest/ 6 | 7 | Check out the README for more information. You cannot publish modules with no 8 | functions, so it just contains a silly value: 9 | 10 | @docs wordsYouCanTypeWithOneHand 11 | -} 12 | 13 | {-| QWERTY sucks. Dvorak for life! -} 14 | wordsYouCanTypeWithOneHand : List String 15 | wordsYouCanTypeWithOneHand = 16 | [ "aftereffects" 17 | , "desegregated" 18 | , "desegregates" 19 | , "reverberated" 20 | , "reverberates" 21 | , "stewardesses" 22 | ] -------------------------------------------------------------------------------- /src/Html/Attributes.elm: -------------------------------------------------------------------------------- 1 | module Html.Attributes where 2 | 3 | {-| This whole package has moved to [elm-lang/html][html]. 4 | 5 | [html]: http://package.elm-lang.org/packages/elm-lang/html/latest/ 6 | 7 | Check out the README for more information. You cannot publish modules with no 8 | functions, so it just contains a silly value: 9 | 10 | @docs longestWordWithNoVowels 11 | -} 12 | 13 | {-|-} 14 | longestWordWithNoVowels : String 15 | longestWordWithNoVowels = 16 | "rhythms" -------------------------------------------------------------------------------- /src/Html/Events.elm: -------------------------------------------------------------------------------- 1 | module Html.Events where 2 | 3 | {-| This whole package has moved to [elm-lang/html][html]. 4 | 5 | [html]: http://package.elm-lang.org/packages/elm-lang/html/latest/ 6 | 7 | Check out the README for more information. You cannot publish modules with no 8 | functions, so it just contains a silly value: 9 | 10 | @docs gardenPathSentence 11 | -} 12 | 13 | {-| Some sentences are [freaky](https://en.wikipedia.org/wiki/Garden_path_sentence). 14 | -} 15 | gardenPathSentence : String 16 | gardenPathSentence = 17 | "The horse raced past the barn fell." -------------------------------------------------------------------------------- /src/Html/Lazy.elm: -------------------------------------------------------------------------------- 1 | module Html.Lazy where 2 | 3 | {-| This whole package has moved to [elm-lang/html][html]. 4 | 5 | [html]: http://package.elm-lang.org/packages/elm-lang/html/latest/ 6 | 7 | Check out the README for more information. You cannot publish modules with no 8 | functions, so it just contains a silly value: 9 | 10 | @docs howMuchWoodWouldAWoodChuckChuckIfAWoodChuckCouldChuckWood 11 | -} 12 | 13 | {-|-} 14 | howMuchWoodWouldAWoodChuckChuckIfAWoodChuckCouldChuckWood : Int 15 | howMuchWoodWouldAWoodChuckChuckIfAWoodChuckCouldChuckWood = 16 | 7 --------------------------------------------------------------------------------