Commit Graph

189 Commits

Author SHA1 Message Date
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
Lokesh Dhakar 8f65625135 build: Latest dist files 2019-08-03 23:08:29 -07:00
Lokesh Dhakar bd7b05bda7 build: Copy node file to dist folder 2019-08-03 23:08:09 -07:00
Lokesh Dhakar ec98c39d42 fix: Remove node req from package.json 2019-07-22 07:31:54 -07:00
Lokesh Dhakar 2aa036737a test: Remove bad test case, colorcount(1) 2019-07-21 23:04:48 -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 71e007c1ec chore: Updated dist files 2019-07-21 18:57:49 -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 d527157d56 chore: Add get-pixels and quantize to deps list 2019-07-21 18:55:38 -07:00
Lokesh Dhakar 3e6de37ce7 test: Enable other palette count tests post-quantize func updates 2019-07-21 18:55:11 -07:00
Lokesh Dhakar c147abf7e7 refactor: Import quantize lib from repo 2019-07-21 18:54:27 -07:00