Last active
May 28, 2016 09:20
-
-
Save Bogdanp/1613141a4e64330b8d4580f3a54b114d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "1.0.0", | |
"summary": "helpful summary of your project, less than 80 characters", | |
"repository": "https://github.com/user/project.git", | |
"license": "BSD3", | |
"source-directories": [ | |
"." | |
], | |
"exposed-modules": [], | |
"dependencies": { | |
"elm-lang/core": "4.0.1 <= v < 5.0.0", | |
"elm-lang/html": "1.0.0 <= v < 2.0.0", | |
"elm-lang/navigation": "1.0.0 <= v < 2.0.0" | |
}, | |
"elm-version": "0.17.0 <= v < 0.18.0" | |
}⏎ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main exposing (main) | |
import Html exposing (div) | |
import Navigation | |
x = | |
42 | |
main = | |
Navigation.program (Navigation.makeParser identity) | |
{ init = \_ -> ( x, Cmd.none ) | |
, update = \_ _ -> ( x, Cmd.none ) | |
, urlUpdate = \_ _ -> ( x, Cmd.none ) | |
, view = \_ -> div [] [] | |
, subscriptions = \_ -> Sub.none | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> import Main exposing (..) | |
/Users/bogdan/test/repl-temp-000.js:6060 | |
onDocument: F3(on(document)), | |
^ | |
ReferenceError: document is not defined | |
at /Users/bogdan/test/repl-temp-000.js:6060:20 | |
at Object.<anonymous> (/Users/bogdan/test/repl-temp-000.js:6064:2) | |
at Object.<anonymous> (/Users/bogdan/test/repl-temp-000.js:7671:4) | |
at Module._compile (module.js:413:34) | |
at Object.Module._extensions..js (module.js:422:10) | |
at Module.load (module.js:357:32) | |
at Function.Module._load (module.js:314:12) | |
at Function.Module.runMain (module.js:447:10) | |
at startup (node.js:148:18) | |
at node.js:405:3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment