Commit Graph

25 Commits

Author SHA1 Message Date
Lokesh Dhakar 85d197baf5 build: Package core functions in ct-node for now. No build process. Revisit post release 2019-08-03 23:09:08 -07:00
Lokesh Dhakar 8236c9d71f refactor: Move validation logic to core 2019-07-21 22:58:43 -07:00
Lokesh Dhakar e9b323a6b2 refactor: Exploring idea of shared core lib 2019-07-21 21:54:25 -07:00
Lokesh Dhakar c147abf7e7 refactor: Import quantize lib from repo 2019-07-21 18:54:27 -07:00
Lokesh Dhakar 4112ec46b1 refactor: Create sep repo for quantize lib and import 2019-07-21 18:54:04 -07:00
Lokesh Dhakar 658b6cbed4 feat: Node support via color-thief-node.js using get-pixel lib 2019-07-21 10:17:26 -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 9a1f39b216 build: v2.1.0 2019-07-14 09:32:13 -07:00
Lokesh Dhakar f31f148e0a style: Fixing var declarations and aligning to eslint rules 2019-05-26 22:13:05 -07:00
Lokesh Dhakar a921953d1a refactor: Don't append canvas to DOM 2019-05-26 20:31:37 -07:00
Lokesh Dhakar 9cea24a6bf refactor: Remove unused canvas methods 2019-05-26 20:28:38 -07:00
Lokesh Dhakar e0ff746a2d Switch to uglify-es for minification 2019-04-28 13:59:49 -07:00
Wangshichao fedd83af85 fix a bug in VBOX.contains 2018-06-08 20:11:31 +08:00
Lokesh Dhakar b011513147 Merge pull request #57 from mhahmadi/mhahmadi_fix_getpalette_validation
fixes #56
2016-11-06 15:41:06 -08:00
Lokesh Dhakar 5d1b4d0dc6 Merge pull request #99 from ali-bugdayci/master
Fix the 'ReferenceError: index is not defined' for the index variable
2016-11-06 15:38:36 -08:00
Lokesh Dhakar 28f22b97d1 Merge pull request #103 from patrickkeenan/master
cross-domain and url
2016-11-06 15:35:24 -08:00
Lokesh Dhakar e3670978a9 Add @license directive for preserving comments w/uglify 2016-10-30 20:22:50 -07:00
Patrick Keenan be918bbaef cross-domain and url
getColorFromUrl gets color from an image served from the same domain,
so you don't have to create an image element to get the color.

getColorAsync gets the color from another domain that has an open
cross-domain policy.
2016-05-27 12:32:31 -07:00
Ali Bugdayci f0e57ddebe Fix the 'ReferenceError: index is not defined' for the index variable 2016-04-20 14:00:24 +03:00
Lokesh Dhakar 36a3c4171e Remove CC License refs. MIT all-around. 2015-10-05 08:33:52 -07:00
Lokesh Dhakar 0511b9d531 Merge pull request #55 from mhahmadi/mhahmadi_fix_mmcq_return_value
fixes #54
2015-06-29 17:12:24 -07:00
Mohamad Ahmadi aff2b1483f fixes #56
Signed-off-by: Mohamad Ahmadi <mohamadhasan.ahmadi@gmail.com>
2015-02-15 12:29:24 -05:00
Mohamad Ahmadi e08df6c316 fixes #54
Signed-off-by: Mohamad Ahmadi <mohamadhasan.ahmadi@gmail.com>
2015-02-15 12:01:47 -05:00
nteike fb256832b8 Fixes issue #32 2014-05-19 15:29:04 +02:00
Lokesh Dhakar 9cbad46067 Reorganize files for Bower distro 2014-04-17 11:07:23 -07:00