Commit graph

13 commits

Author SHA1 Message Date
Evan Czaplicki
f43af4bbd1 Use faster loop for floatList and adjust indentation 2013-10-17 13:40:28 -04:00
Max Goldstein
c99d7d72d5 Preallocate array per Spirros.
Need to specify indices explictly, as push will not overwrite the initialized
values but instead appends on to the end.
2013-10-07 21:35:49 -04:00
Max Goldstein
4a93227f0b Random.floatList : Signal Int -> Signal [Float]
This version has been updated to work with b40f2958d4.
2013-10-06 10:26:28 -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
2cb4fd8973 Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-09-30 01:06:33 -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
Max Goldstein
0f182c653d Fix runtime error with Random.float.
Rename JS function to avoid conflicting with reserved words, as enforced by
commit 40ea6df24 (found with git bisect).
2013-09-29 10:36:41 -04:00
evancz
7ece842af5 Make closure compiler happy. 2013-05-22 01:06:12 +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
evancz
a8df7eb28a Minor bug fixes 2013-05-06 02:30:50 -07:00
evancz
ccf9917f2e Convert the random and touch modules to the new format. 2013-03-08 22:57:13 -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/Random.js (Browse further)