on fb59626 help sign in
history ofruntime/Init.js
all commits
9423af4Use Text.leftAligned instead of old Text.text in the runtimeEvan Czaplicki 4b1474dCorrectly update model, accounting for possibly dropped framesEvan Czaplicki 996848cSimplify the JS API for sending values to signal ports, making error handling more reasonableEvan Czaplicki 6653125experimental support for setting faviconsEvan Czaplicki beabf94Rename "output" to "ports" and "input" to "signal"Evan Czaplicki 0fd74d4Give nicer error messages when user provides values for ports that do not existEvan Czaplicki cbf0b60Fix checks for node.js on stdout and stderr portsEvan Czaplicki 1650aadAllow the title port to work on Strings and Signals of StringsEvan Czaplicki 85bf092Detect errors in port usage (i.e. too many or too few)Evan Czaplicki 502cfc0Handle values sent to incoming ports, still need to properly define Elm.input thoughEvan Czaplicki 1eaa304define ports_out on the elm objectEvan Czaplicki 7e64531Switch from old FFI to new port interface for default output portsEvan Czaplicki 71bb1c8Add basics of properly handling portsEvan Czaplicki bccfeceMerge branch 'master' into devEvan Czaplicki 704da02Fix "dropped" frames for text updates (#224, #339) using @timthelion's insights in #350Evan Czaplicki db7e3f6Fix whitespace in Init.jsMichael Sondergaard a29a1fdFix mouse and touch tracking for embedded Elm programs, #291Evan Czaplicki b40f295New convention for storing module values, fixes bugEvan Czaplicki dcbe2fcChange the format of module instantiationEvan Czaplicki 1a45cb5Nicer API for embedding Elm programsEvan Czaplicki 308c1afFix hotswapping on static scenesEvan Czaplicki c37f30fMake sure that screen resize is registered on initializationEvan Czaplicki 330aa78Give a hint about the developer console for runtime errorsEvan Czaplicki c8d2734Report some runtime errors on screenEvan Czaplicki b30482aGet timers to detach themselves when a swap occurs.evancz 90cf421Switch to a custom way of attaching event listeners that makes it easier to detach them if necessary.evancz 3d5d60aGet basic hot-swapping working.evancz cb154acBug fixes from the Init.js refactor that just happened.evancz 6ddb826First draft addition of hot-swapping. Clean up Init.js a bit as well.evancz 26420d2Actually build the module when using `Elm.worker`evancz d31acc5Minor bug fixes in RTS and libraries.evancz 1be7f04Switch to creating Elm nodes by ID.evancz 6134ed5Merge branch 'dev' of https://github.com/evancz/Elm into devevancz b96b240Make rotations counter-clockwise, just like the unit circle. Now trig functions and rendering functions match each other.evancz acd2b61Merge remote-tracking branch 'evan/dev' into lintColin Curtin 7ce5509Move to initializing with three different functions: fullscreen, node, and worker.evancz 2b90d0eWhitespace, semicolons, lint etc. No functional changes.Colin Curtin 95726b7Start using `requestAnimationFrame`evancz 1d2b3fcAdd built in event listeners.evancz 2289029Correct resizing problems with static elements. Previously, no property updates occurred.evancz 60e403bFix `show` for ADTs and get parens in the right places.evancz 7d1b40aChange send function to be curry-able.evancz 131a2b6Get sprites working in collage. temporary fix for docs.json issue. Looks like git thinks we're in the past, so a bunch of changes that have already happened as well.evancz 152ef51Fix `croppedImage`, `show` for tuples, and init for resizing initial dom node.evancz 55137acMove files around in runtime/evancz a1b890aLots of tiny fixes to get the RTS working!evancz 29a2ec3Move css into RTS. Simplifies Haskell API and compiler code.evancz a38d346Remove a stray 'p' from navigating around in emacs with a weak pinky :Pevancz f49a509Add send and recv functions for each RTS instance.evancz 505b1e3Add the Init module which exports Elm.init, creating a self-contained RTS. It can be used as follows:evancz