Commit graph

136 commits

Author SHA1 Message Date
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
Evan Czaplicki
46b988b34f Error on mod zero 2013-09-22 10:44:51 -04:00
Evan Czaplicki
a633a5d7d3 Make sure text boxes are given proper dimensions after hot-swapping 2013-09-03 11:25:58 -07:00
Evan Czaplicki
e8dffac17b Fix indentation 2013-09-01 22:20:08 -07:00
Evan Czaplicki
b4e0196c7f Factor out a commonly used expression 2013-09-01 22:20:07 -07:00
Evan Czaplicki
3fe9e2470c Fix indent 2013-09-01 22:20:07 -07:00
Evan Czaplicki
6512bf944b Indent properly 2013-09-01 22:20:07 -07:00
Alexander Noriega
074bb08f8e Rename replicate to repeat. 2013-08-31 21:23:23 -03:00
Alexander Noriega
d6e7172f45 Define convenience function List.replicate. 2013-08-31 16:29:35 -03:00
Evan Czaplicki
4722efeb80 Move native version of Matrix2D 2013-08-19 11:56:27 -07:00
John P Mayer Jr
b8a270e9d4 toCode needs to use uppercase, since keyboard separates key and modifier 2013-08-15 06:09:13 +00: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
Evan Czaplicki
79c6b3b39e Merge pull request #194 from A1kmm/dev-fix-mousemove-handler-for-touch
Fix a typo bug in the onblur handler for Touch.
2013-08-08 13:54:01 -07:00
Evan Czaplicki
8a6a823504 Better error messages for runtime errors in cases and ifs 2013-08-04 13:47:27 -07:00
Evan Czaplicki
0cd594c13c Better JS for function composition, runtime errors report which module they came from 2013-08-04 12:51:52 -07:00
Evan Czaplicki
0a55674939 Fix timestamp which was undefined before 2013-08-04 12:24:50 -07:00
Evan Czaplicki
a268421893 Get show, readInt, and readFloat working again 2013-08-04 12:22:58 -07:00
Evan Czaplicki
56e897c9d1 Signal.delay was undefined, use correct reference 2013-08-04 11:15:52 -07:00
Evan Czaplicki
936ffdea81 Give the proper field names to checkboxes 2013-08-02 22:20:24 -07:00
Evan Czaplicki
1b1f058170 get rid of tabs
fucking tabs
2013-08-01 19:47:43 -07:00
Evan Czaplicki
e297564140 make sure clicks are registered on buttons 2013-08-01 19:47:09 -07:00
Evan Czaplicki
b3cc261f96 Make show nicer for signals and unknown objects. 2013-07-30 09:10:06 -07:00
Evan Czaplicki
ae6a3b36b5 Fix runtime code for comparing things 2013-07-30 08:44:23 -07:00
Evan Czaplicki
3e4773ca2e Fix libraries to match new JS generation rules 2013-07-29 23:23:04 +02:00
Evan Czaplicki
7968fa5bff Make Basics compile 2013-07-25 23:52:39 +02:00
Evan Czaplicki
c4880ca5de Rename Prelude to Basics to get rid of circular dependencies 2013-07-25 23:24:33 +02:00
Evan Czaplicki
067773d601 Update the List library to use the number, comparable, and appendable type variables 2013-07-25 16:40:39 +02:00
Andrew Miller
1f3ba5ca35 Fix a typo bug in the onblur handler for Touch. 2013-07-15 14:11:02 +12:00
Evan Czaplicki
1fcb01f743 Finish switching over to '_Tuple' format for tuples. 2013-07-15 01:05:14 +02:00
Evan Czaplicki
340c2e7efa Switch to using px to set text height instead of em. 2013-06-23 04:48:32 -07: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
afacd1b858 Add hoverable and hoverables 2013-06-15 00:49:22 -07:00
evancz
0bee2057d9 Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-06-13 12:53:15 -07:00
Mads Flensted-Urech
f8c6a93ad3 fromRecord (toJS): convert recursively and string handling 2013-06-09 22:55:38 +02:00
evancz
3e45d8e9ce Fix bug in setting headers. 2013-06-09 11:13:03 -07:00
evancz
b30482a38f Get timers to detach themselves when a swap occurs. 2013-06-03 00:19:48 -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
6ddb826332 First draft addition of hot-swapping. Clean up Init.js a bit as well. 2013-05-30 18:41:43 -07:00
evancz
ab5ded36a6 Report success for all 2xx response statuses. 2013-05-23 19:06:14 +02:00
evancz
ebed9f62c9 Fix typo in variable name. 2013-05-23 14:56:45 +02:00
evancz
2da0a59e35 Add basic drop down menus. 2013-05-23 12:44:57 +02:00
evancz
5714764aba Make sure that empty requests are not sent. 2013-05-23 11:11:24 +02:00
evancz
582a4c5ee2 Fix Float32Array bug in IE. Fix input selection bug in IE. 2013-05-22 14:05:53 +02:00
evancz
d9d6ce51ca Fix bug with text resizing in FF and IE. Both report clientWidth and clientHeight as an integer that has been rounded DOWN from the actual float value. This means they can be too small. Switched to using getComputedStyle. 2013-05-22 10:50:51 +02:00
evancz
de4e9ac19f Fix mistake in Graphics/Input.js library. 2013-05-22 03:05:44 +02:00
evancz
7ece842af5 Make closure compiler happy. 2013-05-22 01:06:12 +02:00
evancz
970277f7f2 Minor documentation fix for JavaScript/Experimental.elm
Remove logging in Native/List.js
2013-05-21 18:27:22 +02:00
evancz
96e719401d Change the Json API and change the name of WebSocket.open to not clash with open as a keyword. 2013-05-21 11:04:38 +02:00