We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f487e8e commit b63ef88Copy full SHA for b63ef88
ROADMAP.md
@@ -7,9 +7,14 @@ Here we describe upcoming and recent releases and the key features/fixes they in
7
### 1.4.0
8
* Support custom colors
9
10
-### 1.3.2
+### 1.3.4
11
* Refactor tests to use a testing library like jest (only affects dev/testing)
12
13
+### ~~1.3.3 (12/9/18)~~
14
+
15
+ * ~~Remove extraneous swap files~~
16
+ * ~~Fix subtle bug in custom theme properties mixing themes and styles~~
17
18
### ~~1.3.1 (7/22/18)~~
19
20
* ~~Remove circular dependencies due to color maps~~
lib/custom/trap.js
@@ -8,7 +8,7 @@ module['exports'] = function runTheTrap(text, options) {
c: ['\u00a9', '\u023b', '\u03fe'],
d: ['\u00d0', '\u018a', '\u0500', '\u0501', '\u0502', '\u0503'],
e: ['\u00cb', '\u0115', '\u018e', '\u0258', '\u03a3', '\u03be', '\u04bc',
- '\u0a6c'],
+ '\u0a6c'],
f: ['\u04fa'],
g: ['\u0262'],
h: ['\u0126', '\u0195', '\u04a2', '\u04ba', '\u04c7', '\u050a'],
@@ -19,7 +19,7 @@ module['exports'] = function runTheTrap(text, options) {
m: ['\u028d', '\u04cd', '\u04ce', '\u0520', '\u0521', '\u0d69'],
n: ['\u00d1', '\u014b', '\u019d', '\u0376', '\u03a0', '\u048a'],
21
o: ['\u00d8', '\u00f5', '\u00f8', '\u01fe', '\u0298', '\u047a', '\u05dd',
22
- '\u06dd', '\u0e4f'],
+ '\u06dd', '\u0e4f'],
23
p: ['\u01f7', '\u048e'],
24
q: ['\u09cd'],
25
r: ['\u00ae', '\u01a6', '\u0210', '\u024c', '\u0280', '\u042f'],
lib/custom/zalgo.js
@@ -75,21 +75,21 @@ module['exports'] = function zalgo(text, options) {
75
result = result + text[l];
76
counts = {'up': 0, 'down': 0, 'mid': 0};
77
switch (options.size) {
78
- case 'mini':
79
- counts.up = randomNumber(8);
80
- counts.mid = randomNumber(2);
81
- counts.down = randomNumber(8);
82
- break;
83
- case 'maxi':
84
- counts.up = randomNumber(16) + 3;
85
- counts.mid = randomNumber(4) + 1;
86
- counts.down = randomNumber(64) + 3;
87
88
- default:
89
- counts.up = randomNumber(8) + 1;
90
- counts.mid = randomNumber(6) / 2;
91
- counts.down = randomNumber(8) + 1;
92
+ case 'mini':
+ counts.up = randomNumber(8);
+ counts.mid = randomNumber(2);
+ counts.down = randomNumber(8);
+ break;
+ case 'maxi':
+ counts.up = randomNumber(16) + 3;
+ counts.mid = randomNumber(4) + 1;
+ counts.down = randomNumber(64) + 3;
+ default:
+ counts.up = randomNumber(8) + 1;
+ counts.mid = randomNumber(6) / 2;
+ counts.down = randomNumber(8) + 1;
93
}
94
95
var arr = ['up', 'mid', 'down'];
lib/extendStringPrototype.js
@@ -85,7 +85,7 @@ module['exports'] = function() {
return ret;
};
addProperty(prop, themePropApplicator);
- colors[prop] = function(str){
+ colors[prop] = function(str) {
return themePropApplicator(str);
@@ -102,7 +102,7 @@ module['exports'] = function() {
102
'\'/../themes/generic-logging.js\'); The new syntax looks like '+
103
'colors.setTheme(require(__dirname + ' +
104
'\'/../themes/generic-logging.js\'));');
105
- return;
+ return;
106
} else {
107
applyTheme(theme);
108
lib/maps/random.js
@@ -4,7 +4,7 @@ module['exports'] = function(colors) {
4
return function(letter, i, exploded) {
5
return letter === ' ' ? letter :
6
colors[
- available[Math.round(Math.random() * (available.length - 2))]
+ available[Math.round(Math.random() * (available.length - 2))]
](letter);
0 commit comments