Commit graph

21 commits

Author SHA1 Message Date
evancz
e85f31fda5 New way to import that does not clutter global namespace. Switch uses of Nothing and Just to simpler expressions.
Fix IE9 bug due to `console.log`.
2012-11-20 23:18:32 -08:00
evancz
7c319fe4c5 Rewrite core-js to remove prefixes and change global Elm prefix from ElmCode to Elm. 2012-10-16 22:02:35 -07:00
evancz
bdb898df65 Rename libraries, dropping prefixes. This probably introduces some bugs. 2012-10-15 23:03:14 -07:00
Joey Adams
0dee68605c Add foldp1
foldp1 :: (a -> b -> b) -> (a -> b) -> Signal a -> Signal b

Like foldp, but the initial value is based on the input signal's
initial output.
2012-09-28 22:01:31 -04:00
evancz
9197f15f1a Fix bug in sampleOn. 2012-09-13 12:25:48 -07:00
evancz
bd9dc475c7 Fix bug in sampleOn which caused it to send two messages per event instead of one. Really bad behavior! 2012-09-11 13:57:21 -07:00
evancz
1501160bac Begin rewrite of rendering engine. 2012-08-31 01:42:33 -05:00
evancz
5547fb1cfd Update version to fix bug in IE and FF! 2012-08-21 16:08:14 +02:00
evancz
7d09fb6972 Fix display bug in latest Chrome build. 2012-07-28 20:32:31 +02:00
evancz
1430e8f467 Correct error with sampleOn function. 2012-06-29 11:29:41 -05:00
evancz
913aaf0509 Set margin and padding to 0 explicitly.
Move JSElementToElement (and vice-versa) to Foreign.JavaScripct.Experimental.

Add clicks and sampleOn functions.
2012-06-29 10:21:06 -05:00
evancz
9332a8a152 Update .js files for Foreign.JavaScript and new Signal operators. 2012-06-28 03:50:16 -05:00
evancz
f7bb66208f Fix resizing bug in Dispatcher.js. Bump version number for elm-server. 2012-06-19 01:59:46 -05:00
evancz
58bb15d89e Fix two bugs: (1) Reported text size was incorrect for headers. (2) The outermost div was not resized properly. 2012-06-15 03:23:42 -05:00
evancz
c9a6398cd8 Fix sizing bug in runtime system. 2012-06-12 05:44:45 -05:00
evancz
0735c6bdc6 Fix above and below to work properly with the new parser, and add a slightly better error message for runtime issues. 2012-06-10 04:13:00 -05:00
evancz
64c880c45b Bug fix / significant change in how updates are made. When a stateful signal was used in multiple places, it was updated multiple times. This change fixes that problem. 2012-06-08 00:54:22 -05:00
evancz
fc6bcf6934 Remove DOM update code in favor of naive update mechanism (replace everything). Not ideal, but should be added back when Element model is more robust. 2012-04-30 21:55:52 -04:00
evancz
cdd1a897bb Improve error reporting very slightly. Add Mouse.clickedOn function. 2012-04-30 17:05:34 -04:00
evancz
75ce10de64 Fix subtle signal update bug. Lift nodes previously short-circuited when one input changed rather than updating all inputs. 2012-04-29 15:08:30 -04:00
evancz
ff3d6ec6cb Add all core JavaScript libraries. 2012-04-19 23:10:25 -04:00