Commit graph

53 commits

Author SHA1 Message Date
pyoor
600bb045be Use template literals throughout 2018-05-21 11:50:44 -04:00
Christoph Diehl
090daa68b5
Add support for Base64 in NodeJS 2018-05-14 19:49:08 +02:00
pyoor
49915cb7a2 Only wrap strings in quotes 2018-04-07 11:14:40 -04:00
Christoph Diehl
297002fec4
Let safely() support Arrays 2018-04-06 19:45:19 +02:00
Christoph Diehl
a869409853
Fix prototypes and explicitly enable them 2018-03-22 00:08:55 +01:00
Christoph Diehl
0ec0980e8d
Ensure proper quoting of jsesc 2018-03-21 22:26:35 +01:00
Christoph Diehl
53d9167682
Prefer jsesc for quoting 2018-03-21 22:04:57 +01:00
Christoph Diehl
3c297bdea2
Stick with require for overwriting String|Array prototypes 2018-03-20 00:55:16 +01:00
Christoph Diehl
94f85030e4
Use global namespace for overwriting String|Array prototypes 2018-03-20 00:03:55 +01:00
Christoph Diehl
7c2273e26c
Fix static method for objects 2018-03-19 06:34:18 +01:00
Christoph Diehl
43b69880b1
Add linter fixes 2018-03-19 05:54:40 +01:00
Christoph Diehl
142576ed49
Add module based architecture
* Build with Webpack
* Let Octo.js run in Node
2018-03-19 04:23:05 +01:00
Christoph Diehl
c8403064f3
Add mackup() to beautify template strings 2018-02-03 10:16:08 +01:00
pyoor
88cf5c4bfb Fix unit matching regex 2017-08-16 16:16:29 -04:00
pyoor
ddc48c2045 Use random.chance instead of random.number === n 2017-08-16 15:59:14 -04:00
pyoor
e891f28fa6 Only mutate units when preceeded by a number 2017-08-16 15:57:57 -04:00
pyoor
5c6593b973 Fix eslint issue 2017-07-06 10:18:45 -04:00
Christoph Diehl
f8c61ab67a Modify logging routines 2017-06-27 17:16:34 -07:00
pyoor
0bb9953ddb Temporarily replace quote with jruderman's simpleSource 2017-06-15 17:24:32 -04:00
pyoor
ddc42d0fa6 Fix bad reference to random.index 2017-06-15 12:49:29 -04:00
pyoor
fba49412c7 Update utils.common.quote to escape unicode characters and inner escape sequences 2017-06-14 14:04:53 -04:00
pyoor
194e8d948a Remove unecessary attributes for Object.isObject 2017-06-13 13:19:33 -04:00
pyoor
c27266c234 Add Array.extend prototype 2017-06-13 13:19:09 -04:00
Christoph Diehl
fe702f19ed Fix left-over make.number.rangeNumber reference 2017-06-10 07:23:38 +02:00
Christoph Diehl
5226f2549b Fix ESLint issues 2017-06-10 06:41:53 +02:00
Christoph Diehl
267d30720a Tiny cosmetics in error message of pick() 2017-06-10 06:10:40 +02:00
Christoph Diehl
562ba9ebb7 Add platform.SpeechGrammar to platform object 2017-06-10 05:52:22 +02:00
pyoor
97bc2ab4ad Multi-window fix for Objects.isObject 2017-06-08 18:15:31 -04:00
pyoor
d7cb85131d Add Object.isObject shim 2017-06-08 17:56:46 -04:00
pyoor
2cf47dba1d Add unicode safe, base64 encode/decode 2017-06-08 12:05:06 -04:00
Christoph Diehl
3ad70863f1 Let platform be a self-invoked function 2017-06-08 15:49:58 +02:00
Christoph Diehl
d7db764361 Let platform be a self-invoked function 2017-06-08 15:46:46 +02:00
Christoph Diehl
07983e5999 Let platform be a self-invoked function 2017-06-08 15:41:04 +02:00
pyoor
ccb0996187 Remove duplicate shuffle function 2017-06-08 09:32:40 -04:00
pyoor
8401a10127 Replace instanceof Array checks with Array.isArray 2017-06-08 09:31:41 -04:00
pyoor
060345e96a WIP Add utils.mutate.random to any() 2017-06-08 00:18:33 -04:00
pyoor
16402ea39c WIP Initial commit of mutators 2017-06-08 00:15:20 -04:00
Christoph Diehl
cecc7b0f5e Remove references of removed random.some in favour of random.subset 2017-06-08 04:27:26 +02:00
Christoph Diehl
6110524f78 Fix o.get by calling random.pick instead of the removed random.index 2017-06-06 07:12:31 +02:00
Christoph Diehl
83f241e7b4 Fix namespace of getKeysFromHash 2017-06-06 07:04:43 +02:00
Christoph Diehl
de4dc71820 Use let instead of var in objects.js 2017-05-02 17:12:49 +03:00
Christoph Diehl
37912b3a3f Use let instead of var in objects.js 2017-05-02 17:09:14 +03:00
Christoph Diehl
b55264b24f Use let instead of var in script.js 2017-05-02 17:01:32 +03:00
Christoph Diehl
2ed3e76ab2 Use const and let for platform object 2017-05-02 16:44:59 +03:00
Christoph Diehl
85dc6b9bd8 Update prototypes to use defineProperty 2017-04-27 01:30:33 +03:00
Jesse Schwartzentruber
0302a84fa6 Linter changes
* Override remaining eslint errors from standard
* Run standard with grunt instead of separately
2017-04-26 18:01:48 -04:00
pyoor
f7e3a0c9a4 Fixed bad reference to platform 2017-04-26 10:14:19 -04:00
Christoph Diehl
68c04f6224 Fix logger 2017-04-26 01:28:31 +03:00
Christoph Diehl
6cbda76fea Use Standard as JavaScript standard style 2017-04-26 01:21:31 +03:00
Christoph Diehl
ebd4d161f4 [utils] Add init.js 2017-04-25 18:47:19 +03:00