Commit graph

86 commits

Author SHA1 Message Date
Christoph Diehl
77931baa0b [console.js] Lowercase object name 2017-04-23 00:27:00 +03:00
Christoph Diehl
0760296bfb Add String and Array extensions 2017-04-23 00:26:09 +03:00
Christoph Diehl
a3494d822d Add objects class 2017-04-23 00:25:20 +03:00
Christoph Diehl
a947263c0b [console.js] Add logging method from common.js 2017-04-23 00:16:24 +03:00
Christoph Diehl
fa1a194b71 [console.js] Add logging method from common.js 2017-04-23 00:14:04 +03:00
Christoph Diehl
392642751f [random.js] remove redundancy 2017-04-23 00:02:26 +03:00
Christoph Diehl
d1fd149ef2 [script.js] Fix syntax error 2017-04-22 23:25:30 +03:00
Christoph Diehl
5cef5c3906 Add license headers 2017-04-22 23:18:36 +03:00
Christoph Diehl
22085d0531 Add license headers 2017-04-22 23:16:47 +03:00
Christoph Diehl
e021430b3a Add LICENSE 2017-04-22 23:09:22 +03:00
Christoph Diehl
6654cf857e Add overall code reformatting 2017-04-22 23:07:29 +03:00
Christoph Diehl
93d5fec51a Add docstr to random.init 2017-04-22 22:42:54 +03:00
Christoph Diehl
b360ff1456 Namespace changes 2017-04-22 22:17:23 +03:00
Christoph Diehl
34e67a89a9 Namespace changes 2017-04-22 22:02:38 +03:00
Jesse Schwartzentruber
227f6a1958 Performance improvement of random.pop()
This does not do the same array type checks as random.item(), but these
should be standardized throughout the module.
2017-04-20 15:15:13 -04:00
Jesse Schwartzentruber
8e084eb878 Fix typo in random.subset: limit should only be randomized if it is not specified 2017-04-20 15:14:33 -04:00
Jesse Schwartzentruber
b7d4cbd043 Add remaining tests for random functions. 2017-04-20 15:13:55 -04:00
Jesse Schwartzentruber
61b01e0c40 Generate 53-bit floats instead of 32. 2017-04-20 15:12:31 -04:00
Jesse Schwartzentruber
446dcdf1d9 More work on tests for random functions 2017-04-13 13:07:12 -04:00
Christoph Diehl
e927fac479 [colors.js] Add newline 2017-04-13 16:20:58 +03:00
Christoph Diehl
eaa4f436b1 Add utils 2017-04-13 16:20:04 +03:00
Christoph Diehl
539443ede2 Add random to .jshintrc 2017-04-13 16:17:33 +03:00
Christoph Diehl
3a2e88c4b3 Fix inspections 2017-04-13 05:14:02 +03:00
Christoph Diehl
3ac4c7d281 Add network.js 2017-04-13 03:05:57 +03:00
Christoph Diehl
db1db9b1a4 Add types.js 2017-04-13 03:05:17 +03:00
Christoph Diehl
80e1a17cf6 Merge branch 'master' of https://github.com/MozillaSecurity/octo 2017-04-13 00:28:22 +03:00
Christoph Diehl
dbc18ddac6 Add shaders.js 2017-04-13 00:28:12 +03:00
Jesse Schwartzentruber
8b20380b28 Add more random tests.
Use chi-squared goodness of fit tests for random distributions.
2017-04-12 17:03:57 -04:00
Christoph Diehl
a015709892 Add files.js 2017-04-12 23:33:41 +03:00
Christoph Diehl
44fef815d1 Add strings.js 2017-04-12 23:23:15 +03:00
Christoph Diehl
b25df1051a Add arrays.js 2017-04-12 23:16:44 +03:00
Christoph Diehl
c27b0cfc64 Add mime.js 2017-04-12 22:19:45 +03:00
Christoph Diehl
240c062a9a Add units.js 2017-04-12 22:18:23 +03:00
Christoph Diehl
5d7b77016c [text.js] Add language 2017-04-12 22:12:15 +03:00
Christoph Diehl
aab54d634d [text.js] Add charset 2017-04-12 22:11:04 +03:00
Christoph Diehl
b32d4650a6 Add text.js 2017-04-12 21:55:13 +03:00
Christoph Diehl
27f650a874 Add numbers.js 2017-04-12 21:43:55 +03:00
Christoph Diehl
3aa9618082 Add fonts.js 2017-04-12 21:43:30 +03:00
Christoph Diehl
146009da0e Edit Random.pop() 2017-04-12 18:24:44 +03:00
Christoph Diehl
30a9c59613 Merge pull request #8 from pyoor/master
Add Random.pop() and placeholder for unit tests
2017-04-12 17:18:04 +02:00
pyoor
78e753a3e7 Add placeholder for Random.pop Qunit test 2017-04-12 10:41:13 -04:00
pyoor
05ad767b05 Added Random.pop() 2017-04-12 10:40:50 -04:00
Jesse Schwartzentruber
5dbe5b7fa6 More random.js tests and fix an issue in random.float() 2017-04-11 17:43:09 -04:00
Jesse Schwartzentruber
1f62911e9e Move badges 2017-04-10 14:19:24 -04:00
Jesse Schwartzentruber
5204516dee Update README with test structure. 2017-04-10 14:14:01 -04:00
Jesse Schwartzentruber
a9dd31aed2 Enable Firefox in Karma config for Travis CI 2017-04-10 14:03:05 -04:00
Jesse Schwartzentruber
1f48bd5953 Update Travis CI environment to trusty so we get a recent chromium. 2017-04-10 13:59:24 -04:00
Jesse Schwartzentruber
36c6bb5b08 Add coveralls badge 2017-04-10 13:54:02 -04:00
Jesse Schwartzentruber
b3c7ecbe2f Switch from qunit (node) and slimerjs to karma which supports running
qunit tests in firefox and chrome.

Maintaining code to work in node for testing only will be error-prone.
2017-04-10 13:49:32 -04:00
Jesse Schwartzentruber
46c89ee886 Update .gitignore:
- remove python stuff
- remove duplicate templates
- add nodejs template
2017-04-10 13:47:35 -04:00