Commit graph

20 commits

Author SHA1 Message Date
Evan Czaplicki
24da7112a9 Drop repeats by default on arrows, directions, wasd, and isDown 2013-10-14 13:33:48 -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
John P Mayer Jr
6821a350f4 fixed obvious === bug 2013-08-15 05:55:48 +00:00
John P Mayer Jr
b9abf862dd fixed wierd keyboard stuff by factoring out keypress events 2013-08-15 05:24:44 +00:00
evancz
9a40249e05 Fix the confusion with "Cons" and "Nil" in issue #176.
Also add the ExplicitList expression.
2013-06-20 21:25:10 -07:00
evancz
13dacfd8f9 Stop a bunch of keyboard signals from firing too many events. 2013-06-16 14:20:15 -07: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
a9400dbc63 Clean up some documentation and make some minor API tweaks. 2013-05-16 22:10:50 +02:00
Colin Curtin
acd2b61e00 Merge remote-tracking branch 'evan/dev' into lint
Conflicts:
	runtime/Init.js
	runtime/Render/Collage.js
2013-05-14 09:18:38 -07: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
Colin Curtin
2b90d0eb9e Whitespace, semicolons, lint etc. No functional changes. 2013-05-11 13:42:45 -07:00
evancz
934f37f882 Settle on name for lastKey and set the type as Signal KeyCode. 2013-05-05 17:49:28 -07:00
evancz
0fbc244bbb Change names back to be longer but better. 2013-03-23 18:22:25 -07:00
evancz
79093ff4da Change the name of Keyboard to Keys. Change some function names and change type of charPressed to be the latest char pressed (default is '\0') 2013-03-23 16:52:58 -07:00
evancz
db44b154b4 Combine Keyboard and Keyboard.Raw modules. 2013-03-11 10:38:52 -07:00
evancz
b343564795 Finish tweaking the second half of .elm library files. 2013-03-10 01:07:17 -08:00
evancz
f70fdaa300 Solidify format for modules. Convert the Time module. 2013-03-08 22:50:46 -08:00
evancz
9084db2b59 Switch module structure to permit on-demand initialization and multiple runtimes working simultaneously. 2013-03-08 20:17:01 -08:00
evancz
f589cf3899 Move all js files relevant to signals into the Native/Signal/ directory 2013-03-08 18:39:39 -08:00
Renamed from libraries/Native/Keyboard.js (Browse further)