Commit Graph

200 Commits

Author SHA1 Message Date
e01b849ea4 Preparations to support canvas el as argument 2025-01-24 20:39:04 +01:00
159a00599f update readme 2024-09-20 09:45:43 +02:00
Janis Hutz
46fe27c36b Update README.md 2024-09-20 07:41:55 +00:00
2fa4558010 fix links 2024-08-26 11:06:55 +02:00
7f258bead9 fix versioning V3.0.0 2024-08-26 11:01:43 +02:00
aab562b0de update for npm publish 2024-08-26 11:01:26 +02:00
3065bf6c7a add type definitions 2024-06-28 13:53:48 +02:00
bfbb5d64de done 2024-06-28 13:32:22 +02:00
18cad78969 start migrating to TS, update eslint config 2024-06-27 21:47:16 +02:00
Lokesh Dhakar
4dc3bb0b43 build: minor version bump and removal of cypress vid files 2023-02-28 14:08:18 -08:00
Lokesh Dhakar
92820172b1 Merge pull request #233 from lokesh/dev
build: resolve Quantize dep issue, upgrade Cypress
2023-02-28 14:00:11 -08:00
Lokesh Dhakar
d955bb09da style: add new lines to EOFs 2023-02-28 13:59:41 -08:00
Lokesh Dhakar
20d3593422 build: resolve Quantize dep issue, upgrade Cypress 2023-02-27 15:30:44 -08:00
Lokesh Dhakar
ef231c7113 build for 2.3.2 2020-07-05 21:30:58 -07:00
Lokesh Dhakar
7fd0b81da5 build 2020-07-05 21:27:42 -07:00
Lokesh Dhakar
818c00e00e Merge pull request #182 from wangcheng/wangcheng678-patch-1
use image naturalHeight and naturalHeight
2020-07-05 21:03:38 -07:00
Lokesh Dhakar
4858a208d7 Merge pull request #192 from lokesh/dev
dev -> master
2020-07-05 19:20:40 -07:00
Lokesh Dhakar
ec776e60fb Merge pull request #191 from aaron-hanson/fix-quality-option-validation
Fix quality option validation, update npm script syntax, package-lock
2020-07-05 19:15:58 -07:00
Lokesh Dhakar
79a480d929 docs: Add more details info on running local tests 2020-07-05 19:05:32 -07:00
archaeal
3d8a284693 version bump to 2.3.1 2020-06-26 17:29:49 -05:00
archaeal
0e4abc143b fixes npm build script syntax, builds latest dist, adds sourcemap file for the umd version 2020-06-26 17:27:43 -05:00
archaeal
bce5abde01 adds identical quality option fix to color-thief-node.js 2020-06-26 16:56:23 -05:00
archaeal
adabfc524a simplifies quality option validation to a single if statement 2020-06-26 16:26:52 -05:00
archaeal
2789b88c17 fixes validation of quality option
- fixes https://github.com/lokesh/color-thief/issues/180
2020-06-26 16:15:59 -05:00
archaeal
f3f20173ac fixes npm script command syntax 2020-06-26 16:09:28 -05:00
archaeal
c7eeb6e393 updates package-lock's version of colorthief and commit hash for quantize 2020-06-26 16:06:46 -05:00
archaeal
b1008f6e5d adds .idea folder (IntelliJ IDE settings) to .gitignore 2020-06-26 16:05:22 -05:00
Cheng Wang
b00090f1a8 use image naturalHeightnaturalHeight 2019-12-12 22:45:50 +08:00
Lokesh Dhakar
1c70277219 docs: Remove dupe contributing.md content. Moved to readme 2019-08-25 19:21:32 -07:00
Lokesh Dhakar
7beac03d3a docs: Move Contributing.md content into README and add proj structure 2019-08-25 19:19:53 -07:00
Lokesh Dhakar
01fe8263b9 Update README.md 2019-08-25 19:10:45 -07:00
Lokesh Dhakar
fb55143ec6 Merge pull request #168 from lokesh/use-let-const-where-approp
refactor: Use `let` and `const` instead of `var` where appropriate
2019-08-25 18:34:35 -07:00
Lokesh Dhakar
adcd4099c8 refactor: Use let and const instead of var where appropriate 2019-08-25 18:32:48 -07:00
Lokesh Dhakar
07522f86d8 test: Fix cors test, typo 2019-08-25 18:29:35 -07:00
Lokesh Dhakar
c9e6563a44 test: Add test for CORS 2019-08-24 18:59:26 -07:00
Lokesh Dhakar
29e96fe72b docs: Point readme readers to demo page 2019-08-22 21:28:48 -07:00
Lokesh Dhakar
a0e9b772d9 code: Remove unused vars and add missing semis 2019-08-08 21:38:31 -07:00
Lokesh Dhakar
a5c5d76a17 docs: Remove note about buggy return count. It's been fixed. 2019-08-04 10:02:01 -07:00
Lokesh Dhakar
c35bc016fa docs: Add syntax highlighting 2019-08-04 10:00:34 -07:00
Lokesh Dhakar
78d23803b6 docs: Update docs to show diff import methods and call out null2 fork diff
- Show example of using in node
- Show example of using in browser: global var, es6 module, and mention requirejs
2019-08-04 09:56:39 -07:00
Lokesh Dhakar
043d653078 release: v2.3.0 2019-08-04 08:52:14 -07:00
Lokesh Dhakar
a80876264f Merge pull request #165 from lokesh/dist-folder-cleanup
build: `/dist` folder cleanup
2019-08-03 23:26:28 -07:00
Lokesh Dhakar
a928f09b3d chore: Updated dist files and removing old sourcemap files 2019-08-03 23:24:54 -07:00
Lokesh Dhakar
881b4848ad build: Remove color-thief-node.js file. Already had color-thief.js for commonjs version 2019-08-03 23:24:21 -07:00
Lokesh Dhakar
c8d91d8d69 build: Don't output sourcemaps 2019-08-03 23:21:28 -07:00
Lokesh Dhakar
9420530b37 chore: Remove node.js test file. Replaced with tests. 2019-08-03 23:20:25 -07:00
Lokesh Dhakar
adc11f621a Merge pull request #164 from lokesh/dev-node
add: Node support and testing
2019-08-03 23:12:32 -07:00
Lokesh Dhakar
3e992dc368 test: Add node tests with Mocha and Chai 2019-08-03 23:10:04 -07:00
Lokesh Dhakar
4b78380823 wip: Update asycn.html test page. Needs further work 2019-08-03 23:09:44 -07:00
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