Commit graph

62 commits

Author SHA1 Message Date
pyoor
e191310d99 Refactor script.runner 2018-08-22 15:35:03 -04:00
pyoor
ad5ae56561 Use make.number.tiny instead of make.number.range 2018-08-20 12:21:54 -04:00
pyoor
68c606d0dd Additional JSDoc fixes 2018-08-13 10:59:05 -04:00
pyoor
80f16a4aaf Only escape minimal characters and allow HTML escapes 2018-08-02 14:26:17 -04:00
pyoor
b2206ba0b2 Revert "Only escape required characters (non-ASCII safe)"
This reverts commit be27c5057c.
2018-08-01 12:01:42 -04:00
pyoor
be27c5057c Only escape required characters (non-ASCII safe) 2018-08-01 10:57:28 -04:00
pyoor
40eee0a442 Add utils.script.runner 2018-05-21 12:18:09 -04:00
pyoor
6455376a97 Add utils.script.offset 2018-05-21 12:17:48 -04:00
pyoor
3f23299430 Sort functions alphabetically 2018-05-21 12:04:34 -04:00
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