Lokesh Dhakar
2aa036737a
test: Remove bad test case, colorcount(1)
2019-07-21 23:04:48 -07:00
Lokesh Dhakar
695f73a5b7
fix: Use umd file for index.html testing. When running watch, the .min file doesn't get updated. Harder to test.
2019-07-21 18:57:40 -07:00
Lokesh Dhakar
c91f3e808e
feat: Add module support with new dist files
...
- `/dist/color-thief.umd.js`: UMD module. For simple script tag loading that exposes a global variable or for RequireJS AMD support.
- `/dist/color-thief.js`: CommonJS module. Entry point for Node.js and Browserify.
- `/dist/color-thief.mjs`: ES6 module. For modern browsers as well as Webpack and Rollup.
- `/dist/color-thief.min.js`: Duplicate of `/dist/color-thief.umd.js`. Kept around to maintain backwards compatibility.
2019-07-14 20:00:27 -07:00
Lokesh Dhakar
b41cd65747
feat: Add demo page back index.html
2019-07-14 09:19:41 -07:00
Lokesh Dhakar
3e7554b321
refactor: Move test demo page and assets into cypress folder
2019-07-14 08:38:57 -07:00
Lokesh Dhakar
7a4e672b8c
test: Add getPalette() tets
2019-05-02 09:04:23 -07:00
Lokesh Dhakar
eef8742c0b
docs: Add palette count calls to example page
2019-05-02 08:43:05 -07:00
Lokesh Dhakar
8e77715d5d
Add tests: getColor on black, red, color, transparent, white image
2019-04-29 08:24:09 -07:00
Lokesh Dhakar
2ffa707ae0
Cleanup: remove unused jquery, tabs to spaces
2019-04-28 22:10:32 -07:00
Lokesh Dhakar
2563e20099
Strip example page. Simplify for test cases
2019-04-28 21:11:29 -07:00
Lokesh Dhakar
9cbad46067
Reorganize files for Bower distro
2014-04-17 11:07:23 -07:00
Lokesh Dhakar
cb5c9c6ca8
Updated demo page. Added package.json and bower.json.
2014-04-08 01:22:14 -04:00
Lokesh Dhakar
355a5119a7
Fixed twitter link in read me. Cleaned up css and removed unused font.
2013-06-30 22:31:44 -07:00
Lokesh Dhakar
16aa015588
Demo page edits: description and author meta tags and addition of Google Analytics
2013-06-24 23:25:17 -07:00
Lokesh Dhakar
b088790b8d
- Removed jquery dependency for color-thief.js
...
- Updated jquery and modernizr for demo page.
2013-06-23 22:18:58 -07:00
Lokesh Dhakar
4272252db9
Drag'n'drop working again. Appending quantize.js code into color-thief.js
2013-06-23 18:26:36 -07:00
Lokesh Dhakar
d3800d634d
Drag-n-drop support+. Thanks nspady.
...
- Updated to higher res demo images.
- Split template into two.
- Style clean up in color-thief.js
2013-06-23 12:33:07 -07:00
Nathan Spady
1dd3764fd2
Added support for multiple drag/drop images, as well as successive images.
2012-12-22 17:50:42 -06:00
Nathan Spady
bdbaf8c5d0
Basic drag and drop functionality added.
2012-12-21 13:47:34 -06:00
Lokesh Dhakar
0043a335d8
.
2012-04-23 17:36:38 -04:00
Lokesh Dhakar
79d4c70838
FIX: issue #9 - applying css attribs over img ruins the palette function. FIX: issue #3- update README regarding createPalette return val
2012-04-23 17:13:05 -04:00
Lokesh Dhakar
80d4f00208
release v1.0 with all of jfsiii edits
2012-04-22 01:04:48 -04:00
Lokesh Dhakar
0123a7bff0
All of jfsiii awesome edits are now in place.
2012-04-22 00:48:46 -04:00
Lokesh Dhakar
6c351ce0e8
test
2012-04-21 22:04:09 -04:00
Lokesh Dhakar
fb1bba5df2
text updates to the demo page, minor
2011-11-26 13:11:28 -05:00
Lokesh Dhakar
6abadd8cf0
text tweaks
2011-11-03 23:04:51 -04:00
Lokesh Dhakar
c7557d8b1f
updated link to blog
2011-11-03 20:55:43 -04:00
Lokesh Dhakar
35e95c66af
design improvements to demo page
2011-11-03 20:40:46 -04:00
Lokesh Dhakar
8bf268e309
more code cleanup
2011-11-03 17:54:22 -04:00
Lokesh Dhakar
a32716930d
consolidated js into color-thief.js
2011-11-03 15:43:04 -04:00
Lokesh Dhakar
16894c23f4
updates before renaming to color-thief
2011-11-03 15:36:42 -04:00
Lokesh Dhakar
3b704e8bc4
added dominant color function
2011-11-03 01:02:12 -04:00
Lokesh Dhakar
8e8b0f9818
median cut palette algorithm workingls still need to get dominant color.
2011-11-02 23:29:30 -04:00