evancz
706d706e3f
Simplify the Input API for basic widgets.
2013-05-17 23:00:25 +02:00
evancz
8823b012d1
Merge branch 'dev' of https://github.com/evancz/Elm into dev
2013-05-17 22:46:55 +02:00
evancz
5044724cda
Improve documentation a bit and get split
working properly.
2013-05-17 12:49:31 +02:00
Evan Czaplicki
df73a090e4
Merge pull request #152 from perplexes/fix_http_json
...
Fix HTTP/JSON
2013-05-17 02:53:32 -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
0685425ace
"float" is a reserved word in JS
2013-05-11 17:38:07 -07:00
Colin Curtin
98c0269edc
Moar whitespace.
2013-05-11 17:15:45 -07:00
Colin Curtin
2b90d0eb9e
Whitespace, semicolons, lint etc. No functional changes.
2013-05-11 13:42:45 -07:00
Colin Curtin
8db9ccf57e
Fix HTTP/JSON
...
* Elm Http: Signal (lift) was not imported
* Native Http: "Waiting" was not a string.
* Elm Json: find* weren't using the Json Object type (which find was expecting)
* Native Json: Utils was not imported (to use Tuple2)
2013-05-11 13:35:20 -07:00
evancz
d8067fd8c4
Fix foldp
2013-05-06 02:41:22 -07:00
evancz
a8df7eb28a
Minor bug fixes
2013-05-06 02:30:50 -07:00
evancz
80b47ed0f5
Separate mouse drags.
2013-05-05 19:17:29 -07:00
evancz
04d320efac
Fix Window.height in the first frame.
2013-05-05 17:52:00 -07:00
evancz
9f2964992a
Add mouse support in the Touch
library
2013-05-05 17:51:30 -07:00
evancz
82d753a685
Properly attach mouse events to document
2013-05-05 17:51:04 -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
986010fb6a
Add plainText
back. Fix some types. Fix a bug in mergeEither
.
2013-04-10 00:52:53 -07:00
evancz
22890292b8
Correct resizing problems with static elements. Previously, no property updates occurred.
2013-04-07 17:57:57 -07:00
evancz
60e403ba82
Fix show
for ADTs and get parens in the right places.
...
Make `Elm.init(Elm.MyModule)` work nicer when it takes over the whole `document` and needs to resize with the window.
2013-04-06 16:48:20 -07:00
evancz
87a275abeb
Fix bugs:
...
* types rendered "::" instead of ":"
* `Signal.count` was broken
* Prelude didn't have `show`
2013-03-24 19:17:21 -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
a1b890adc3
Lots of tiny fixes to get the RTS working!
2013-03-12 00:48:11 -07:00
evancz
15c35c824b
Clean out Input file!
2013-03-11 10:59:30 -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
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
86d02e22d5
convert WebSocket.js and Window.js to the new module format
2013-03-08 23:12:40 -08:00
evancz
ccf9917f2e
Convert the random and touch modules to the new format.
2013-03-08 22:57:13 -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