Evan Czaplicki
a29a1fd558
Fix mouse and touch tracking for embedded Elm programs, #291
2013-10-13 19:10:02 -04:00
Evan Czaplicki
ffd088bfae
cosmetic: switch to 4 spaces as indent
2013-10-13 17:58:52 -04:00
Evan Czaplicki
b40f2958d4
New convention for storing module values, fixes bug
...
Before it was not possible to add values to anything except leafs of
the namespace structure.
2013-09-30 01:32:27 -07:00
Evan Czaplicki
dcbe2fc245
Change the format of module instantiation
...
Currently, it's only possible to create modules at the leafs of the
namespace structure. This CL lifts that restriction.
Get rid of "use strict" in many cases.
2013-09-30 00:44:31 -07:00
Andrew Miller
1f3ba5ca35
Fix a typo bug in the onblur handler for Touch.
2013-07-15 14:11:02 +12:00
evancz
90cf4218a8
Switch to a custom way of attaching event listeners that makes it easier to detach them if necessary.
2013-06-02 23:46:02 -07:00
evancz
d31acc5c9d
Minor bug fixes in RTS and libraries.
2013-05-21 10:03:51 +02:00
evancz
7ce550901c
Move to initializing with three different functions: fullscreen, node, and worker.
...
Add code to ensure that mouse and touch positions are reported relative to the embedded Elm node.
Remove the elm_ prefix from the events for logging, redirects, and title changes. Should be silo'd by the `elm` and not escape into the global event namespace.
2013-05-14 16:29:06 +02:00
evancz
80b47ed0f5
Separate mouse drags.
2013-05-05 19:17:29 -07:00
evancz
9f2964992a
Add mouse support in the Touch
library
2013-05-05 17:51:30 -07:00
evancz
851d2ff221
Create the Utils module which contains any utilities that can be created before all other modules. Switch to using Utils in existing modules.
...
Add the Error module for reporting the rare runtime errors that are possible.
2013-03-09 19:02:07 -08:00
evancz
6551ef14b2
Convert the Keyboard.Raw module and do minor fixes.
2013-03-09 00:39:58 -08:00
evancz
ccf9917f2e
Convert the random and touch modules to the new format.
2013-03-08 22:57:13 -08:00
evancz
f589cf3899
Move all js files relevant to signals into the Native/Signal/ directory
2013-03-08 18:39:39 -08:00