evancz
17a44f3531
Change the names of line caps and joins.
2013-05-17 22:45:37 +02:00
evancz
ee91bd91fc
Allow elm-doc to handle type aliases and ADTs.
2013-05-17 12:50:01 +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
6c0dc8e621
Make sure elm-doc
actually parses out the comments.
2013-05-16 22:11:40 +02:00
evancz
bba39f2934
Fix basic transforms on groups
2013-05-16 22:11:12 +02:00
evancz
a9400dbc63
Clean up some documentation and make some minor API tweaks.
2013-05-16 22:10:50 +02:00
evancz
6e1a3f5c0f
fix minor mistake in adjustOffset
2013-05-15 07:53:01 +02:00
evancz
73fd3f345d
Fix undefined variable usage in JS.
2013-05-15 07:48:45 +02:00
evancz
1be7f0413a
Switch to creating Elm nodes by ID.
2013-05-15 07:38:11 +02:00
evancz
6134ed581d
Merge branch 'dev' of https://github.com/evancz/Elm into dev
2013-05-14 19:28:58 +02:00
evancz
b96b240c47
Make rotations counter-clockwise, just like the unit circle. Now trig functions and rendering functions match each other.
2013-05-14 19:28:36 +02:00
Evan Czaplicki
4f9ddacdd8
Merge pull request #155 from perplexes/lint
...
Whitespace, semicolons, lint etc. No functional changes.
2013-05-14 10:23:55 -07: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
4bb23bc904
Merge branch 'dev' of https://github.com/evancz/Elm into dev
2013-05-14 16:30:36 +02:00
evancz
b04e97a449
Get resizes working for collage.
2013-05-14 16:29:35 +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
Evan Czaplicki
c575e4c3db
Merge pull request #156 from perplexes/docs
...
Documentation, spelling.
2013-05-14 01:10:44 -07:00
Evan Czaplicki
8da2bc05e0
Merge pull request #153 from perplexes/fix_server_errors
...
Fix showing compilation errors in the browser
2013-05-14 01:06:27 -07:00
evancz
d5a099fe85
Get the stops to show up properly.
2013-05-13 22:22:46 +02:00
evancz
e1425af666
Support toForm
in all cases.
2013-05-13 16:38:23 +02:00
Colin Curtin
0685425ace
"float" is a reserved word in JS
2013-05-11 17:38:07 -07:00
Colin Curtin
dccb6257fb
Prefer typeof over try/catch for feature detection.
2013-05-11 17:23:34 -07:00
Colin Curtin
98c0269edc
Moar whitespace.
2013-05-11 17:15:45 -07:00
Colin Curtin
4495fdb592
Documentation, spelling.
2013-05-11 13:44:28 -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
Colin Curtin
88154c04ce
Fix showing compilation errors in the browser
...
* "Elm." is already prepended by https://github.com/evancz/Elm/blob/dev/compiler/Gen/GenerateHtml.hs#L74
2013-05-11 13:29:55 -07:00
evancz
dc3b220fce
Fix group
and groupTransform
2013-05-11 13:00:03 -07:00
evancz
bb2f028bde
Significant refactor of Collage.js renderer. Now supports toForm
.
...
The `update` function is naive, leading to very bad memory performance. Need to finish improving that part.
2013-05-11 12:35:39 -07:00
evancz
b7e4f9b73b
Get rid of logging
2013-05-11 12:34:12 -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
3f8ce38f81
Rename some stuff in Graphics.Input
2013-05-06 02:30:11 -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
2f2898d8d8
Show escaped chars and function names.
2013-05-05 17:48:50 -07:00
evancz
7afe464ea8
Give curry and uncurry the correct implementations. They were swapped.
2013-05-05 17:48:20 -07:00
evancz
2ae0e90735
Add LineStyle to type aliases and add some annotations to the collage library
2013-05-05 12:11:45 -07:00
evancz
6b8fadac5f
Fix type errors and naming mistake
2013-05-05 00:40:45 -07:00
evancz
c2def3f29c
Fix the directions of arrows
and wasd
.
2013-05-05 00:35:50 -07:00
evancz
5b3e7e15e3
Add KeyCode
alias.
2013-05-04 19:01:42 -07:00
evancz
ef1275e5a1
Add Touch
and TextState
aliases.
2013-05-04 18:58:10 -07:00
evancz
b359fd0b47
Revise elm-docs to copy the names of type variables in type annotations directly.
2013-05-04 18:19:54 -07:00
evancz
be72e868ee
Fix the server
2013-04-28 22:17:51 -07:00
evancz
6ca373bdeb
Move Geometry into Collage. Get rid of Graphics prefix as appropriate.
2013-04-28 20:57:48 -07:00
evancz
104faf10ea
Fix mistaken function name.
2013-04-28 18:52:13 -07:00