246 Commits

Author SHA1 Message Date
Marak
c37d45ddfe Merge pull request #84 from kahwee/patch-1
Changed chalk to colors in example
2014-10-02 20:42:37 +02:00
KahWee Teng
f821fd0ebc Changed chalk to colors in example 2014-10-02 23:01:14 +08:00
Marak
ea942de287 [dist] Bump v1.0.1 v1.0.1 2014-10-01 18:07:35 +02:00
Marak
cfad32bc5a [dist] Release v1.0.1 2014-10-01 18:06:48 +02:00
Marak
6a6353f9cd [fix] Map themes to safe api even if module is being used in normal mode #82 2014-10-01 18:06:04 +02:00
Marak
fee9d2475f [docs] Update README 2014-10-01 13:27:41 +02:00
Marak
3968ec6364 [dist] Release v1.0.0 v1.0.0 2014-10-01 13:24:15 +02:00
Marak
936cf564be [minor] [fix] Add defaults for .trap and .zalgo. .random now using correct api. Update docs and screenshot. 2014-10-01 13:00:33 +02:00
Marak
dfb15b5538 [refactor] [major] Code cleanup. Node has changed a bit since 2010.
[api] Added ability to safely require colors without messing with String.prototype
[api] Removed browser functionality
[dist] Add travis file
2014-09-30 22:41:24 +02:00
Marak
b895035f4a [dist] Bump to v0.6.2 v0.6.2 2013-08-21 16:15:24 -07:00
Marak
38db25ad14 [fix] Removed Object.define property entirely 2013-08-21 16:15:05 -07:00
Marak
c0bc636d4d Revert "Prevent the defineProperty being called when property already exists"
This reverts commit 3f6fe70f39a00e2b120ec07f3eea6a1194e924ce.
2013-08-21 14:36:13 -07:00
Marak
d26602a2d7 Merge pull request #60 from gauntface/master
Prevent the defineProperty being called when property already exists
2013-08-21 14:06:43 -07:00
Matt Gaunt
3f6fe70f39 Prevent the defineProperty being called when property already exists 2013-08-14 13:04:09 +01:00
Marak
fd82d005d7 [dist] Bump to v0.6.1 v0.6.1 2013-07-25 22:48:35 -07:00
Marak
7c65caaed6 [example] Updated example 2013-07-25 22:48:23 -07:00
Marak
289591434a [misc] JSHINT compliance 2013-07-25 22:48:09 -07:00
James Costian
eace24dc1a Added background colors 2013-07-25 22:16:23 -07:00
Marak
156930b317 [test] Removed gray / grey from test. Removed comments. 2013-07-25 22:04:51 -07:00
Marak
c93fd972f7 Merge pull request #52 from jakub-g/master
[fix] Use String.prototype instead of Object.prototype in defineProperty
2013-07-25 22:00:00 -07:00
jakub-g
52c0dcd005 Use String.prototype instead of Object.prototype in defineProperty 2013-07-02 17:43:21 +02:00
Ron Korving
4ddf4e5ce3 Merge pull request #51 from davidpodolsky/master
Fix issue #50 : Added check/implementation for defineProperty over __defineGetter__
2013-06-18 21:15:37 -07:00
David Podolsky
6045347a38 Added defineProperty check/implementation. Is available (ie node.js) defineProperty is the correct way to add color properties so they aren't enumerable. Unintentional enumerable properties can cause global issues 2013-06-14 16:14:19 +00:00
Ron Korving
6ce311411e Merge pull request #46 from zofrex/grey-to-gray
Change 'grey' to 'gray' in HTML/CSS output
2013-04-26 00:22:48 -07:00
zofrex
56a61a6c3a Change 'grey' to 'gray' in HTML/CSS output
Browsers support both, but only IE8+. Source: https://developer.mozilla.org/en-US/docs/CSS/color_value#1
2013-03-07 22:31:40 +00:00
Scott Taylor
1ff98bf1b4 fix package.json (invalid json) 2013-01-08 20:59:45 +01:00
Antoine Musso
683b947493 [dist] Added homepage, bugs, and keywords to package.json 2013-01-05 13:07:03 +05:30
Marc Trudel
b91a1eccf3 [api] Added ability to set styles via array. Closes #27 2013-01-05 12:53:29 +05:30
Marak Squires
52d4f71696 Revert "[api fix] Make properties non-enumerable"
This reverts commit adf06f0988ad72d437275c192a7503421cd853ba.
2013-01-05 12:13:41 +05:30
Marak Squires
67ab1a7232 [api] Added strikethrough style ( seems to be linux only ). Added strikethrough examples. Closes #35 2013-01-05 11:47:07 +05:30
Jan Buschtöns
435741eea0 Add strikethrough tests 2013-01-05 11:36:07 +05:30
Marak
e5fe67f826 Merge pull request #28 from timelesshaze/master
[fix] Changed octal literals to hexadecimal
2012-09-06 02:43:41 -07:00
Marak
e9604a5194 Merge pull request #20 from cjc/master
[fix] Theme properties return object when mode == 'none'
2012-09-05 21:33:45 -07:00
timelesshaze
e8f50c4740 Changed octal literals to hexadecimal\nOctal literals are not allowed in strict mode. 2012-08-08 13:10:01 +02:00
Maciej Małecki
adf06f0988 [api fix] Make properties non-enumerable
Fixes #5.
2012-06-27 11:24:20 +02:00
cjc
5ca667df4a Fix to coerce object input back to string in null stylize operation 2012-01-19 20:23:50 +10:00
cjc
3aed695b49 Add tests for return type of color and theme properties 2012-01-19 18:51:41 +10:00
Marak Squires
4b2ae6c5ec [dist] First pass at JSHINT of codebase 2011-12-11 14:39:44 -08:00
Marak Squires
891da6434c [api] Make colors.setTheme sync call 2011-12-09 23:12:15 -08:00
Marak Squires
e33dc81671 [api] First pass at making themes loadable from files 2011-12-09 22:50:23 -08:00
Marak Squires
19f23dd070 [api] colors.setTheme will warn and ignore any attempts to overwrite important String.prototypes 2011-12-09 21:02:03 -08:00
Marak Squires
75858e0e5a [docs] Fixed example in docs 2011-12-09 15:12:14 -08:00
Marak Squires
3c2eb9d0e6 [dist] [fix] Remove override check. Bump to v0.6.0-1 v0.6.0-1 2011-12-09 04:17:00 -08:00
Marak Squires
1ccd286880 [dist] Bump to v0.6.0 v0.6.0 2011-12-09 03:32:52 -08:00
Marak Squires
e4decd0fb2 [api] Added custom themes using colors.setTheme. Cleaned up browser detection logic. 2011-12-09 03:32:41 -08:00
Morgan "ARR!" Allen
2f03cd933b [docs] New examples in example.js 2011-10-02 01:21:18 +02:00
Maciej Małecki
600c9718e4 [refactor] Fix code formatting 2011-10-02 01:08:30 +02:00
Morgan "ARR!" Allen
158d165ad6 breaks rainbow into sequencer and map function
This adds the ability to easily add new sequences. Adds two examples
(zebra, red, white, blue). Also exports the addSequencer method to
programs including colors can add new sequences on the fly.

Conflicts:

	example.js
2011-10-02 00:57:29 +02:00
Maciej Małecki
0e5305709d [test] Test colors.js, add test.js
This is the worst example of unit tests in the world.
2011-10-02 00:36:05 +02:00
Maciej Małecki
8e55ca411c [dist] Version bump v0.5.1 v0.5.1 2011-09-25 11:13:41 +02:00