Commit Graph

  • bbbcb6c7a8 Add eslint, format master Janis Hutz 2025-05-05 16:14:57 +02:00
  • 8e4cb217bb Fix with eslint Janis Hutz 2025-05-05 14:29:00 +02:00
  • a971b98eaa Finish adding support for canvas elements as input Janis Hutz 2025-02-06 18:25:16 +01:00
  • 5da138d090 Support CanvasElements as inputs Janis Hutz 2025-02-06 18:23:02 +01:00
  • e01b849ea4 Preparations to support canvas el as argument Janis Hutz 2025-01-24 20:38:52 +01:00
  • 159a00599f update readme Janis Hutz 2024-09-20 09:45:43 +02:00
  • 46fe27c36b Update README.md Janis Hutz 2024-09-20 07:41:55 +00:00
  • 2fa4558010 fix links Janis Hutz 2024-08-26 11:06:55 +02:00
  • 7f258bead9 fix versioning V3.0.0 Janis Hutz 2024-08-26 11:01:43 +02:00
  • aab562b0de update for npm publish Janis Hutz 2024-08-26 11:01:26 +02:00
  • 3065bf6c7a add type definitions Janis Hutz 2024-06-28 13:53:48 +02:00
  • bfbb5d64de done Janis Hutz 2024-06-28 13:32:22 +02:00
  • 18cad78969 start migrating to TS, update eslint config Janis Hutz 2024-06-27 21:47:16 +02:00
  • 4dc3bb0b43 build: minor version bump and removal of cypress vid files Lokesh Dhakar 2023-02-28 14:08:18 -08:00
  • 92820172b1 Merge pull request #233 from lokesh/dev Lokesh Dhakar 2023-02-28 14:00:11 -08:00
  • d955bb09da style: add new lines to EOFs Lokesh Dhakar 2023-02-28 13:59:41 -08:00
  • 20d3593422 build: resolve Quantize dep issue, upgrade Cypress Lokesh Dhakar 2023-02-27 15:30:44 -08:00
  • ef231c7113 build for 2.3.2 Lokesh Dhakar 2020-07-05 21:30:58 -07:00
  • 7fd0b81da5 build Lokesh Dhakar 2020-07-05 21:27:42 -07:00
  • 818c00e00e Merge pull request #182 from wangcheng/wangcheng678-patch-1 Lokesh Dhakar 2020-07-05 21:03:38 -07:00
  • 4858a208d7 Merge pull request #192 from lokesh/dev Lokesh Dhakar 2020-07-05 19:20:40 -07:00
  • ec776e60fb Merge pull request #191 from aaron-hanson/fix-quality-option-validation Lokesh Dhakar 2020-07-05 19:15:58 -07:00
  • 79a480d929 docs: Add more details info on running local tests Lokesh Dhakar 2020-07-05 19:05:32 -07:00
  • 3d8a284693 version bump to 2.3.1 archaeal 2020-06-26 17:29:49 -05:00
  • 0e4abc143b fixes npm build script syntax, builds latest dist, adds sourcemap file for the umd version archaeal 2020-06-26 17:27:43 -05:00
  • bce5abde01 adds identical quality option fix to color-thief-node.js archaeal 2020-06-26 16:56:23 -05:00
  • adabfc524a simplifies quality option validation to a single if statement archaeal 2020-06-26 16:26:52 -05:00
  • 2789b88c17 fixes validation of quality option archaeal 2020-06-26 16:15:59 -05:00
  • f3f20173ac fixes npm script command syntax archaeal 2020-06-26 16:09:28 -05:00
  • c7eeb6e393 updates package-lock's version of colorthief and commit hash for quantize archaeal 2020-06-26 16:06:46 -05:00
  • b1008f6e5d adds .idea folder (IntelliJ IDE settings) to .gitignore archaeal 2020-06-26 16:05:22 -05:00
  • b00090f1a8 use image naturalHeightnaturalHeight Cheng Wang 2019-12-12 22:45:50 +08:00
  • 1c70277219 docs: Remove dupe contributing.md content. Moved to readme Lokesh Dhakar 2019-08-25 19:21:32 -07:00
  • 7beac03d3a docs: Move Contributing.md content into README and add proj structure Lokesh Dhakar 2019-08-25 19:19:53 -07:00
  • 01fe8263b9 Update README.md Lokesh Dhakar 2019-08-25 19:10:45 -07:00
  • fb55143ec6 Merge pull request #168 from lokesh/use-let-const-where-approp Lokesh Dhakar 2019-08-25 18:34:35 -07:00
  • adcd4099c8 refactor: Use let and const instead of var where appropriate Lokesh Dhakar 2019-08-25 18:32:48 -07:00
  • 07522f86d8 test: Fix cors test, typo Lokesh Dhakar 2019-08-25 18:29:35 -07:00
  • c9e6563a44 test: Add test for CORS Lokesh Dhakar 2019-08-24 18:59:26 -07:00
  • 29e96fe72b docs: Point readme readers to demo page Lokesh Dhakar 2019-08-22 21:28:48 -07:00
  • a0e9b772d9 code: Remove unused vars and add missing semis Lokesh Dhakar 2019-08-08 21:38:31 -07:00
  • a5c5d76a17 docs: Remove note about buggy return count. It's been fixed. Lokesh Dhakar 2019-08-04 10:02:01 -07:00
  • c35bc016fa docs: Add syntax highlighting Lokesh Dhakar 2019-08-04 10:00:34 -07:00
  • 78d23803b6 docs: Update docs to show diff import methods and call out null2 fork diff Lokesh Dhakar 2019-08-04 09:56:39 -07:00
  • 043d653078 release: v2.3.0 Lokesh Dhakar 2019-08-04 08:52:14 -07:00
  • a80876264f Merge pull request #165 from lokesh/dist-folder-cleanup Lokesh Dhakar 2019-08-03 23:26:28 -07:00
  • a928f09b3d chore: Updated dist files and removing old sourcemap files Lokesh Dhakar 2019-08-03 23:24:54 -07:00
  • 881b4848ad build: Remove color-thief-node.js file. Already had color-thief.js for commonjs version Lokesh Dhakar 2019-08-03 23:24:21 -07:00
  • c8d91d8d69 build: Don't output sourcemaps Lokesh Dhakar 2019-08-03 23:21:28 -07:00
  • 9420530b37 chore: Remove node.js test file. Replaced with tests. Lokesh Dhakar 2019-08-03 23:20:25 -07:00
  • adc11f621a Merge pull request #164 from lokesh/dev-node Lokesh Dhakar 2019-08-03 23:12:32 -07:00
  • 3e992dc368 test: Add node tests with Mocha and Chai Lokesh Dhakar 2019-08-03 23:10:04 -07:00
  • 4b78380823 wip: Update asycn.html test page. Needs further work Lokesh Dhakar 2019-08-03 23:09:44 -07:00
  • 85d197baf5 build: Package core functions in ct-node for now. No build process. Revisit post release Lokesh Dhakar 2019-08-03 23:09:08 -07:00
  • 8f65625135 build: Latest dist files Lokesh Dhakar 2019-08-03 23:08:29 -07:00
  • bd7b05bda7 build: Copy node file to dist folder Lokesh Dhakar 2019-08-03 23:08:09 -07:00
  • ec98c39d42 fix: Remove node req from package.json Lokesh Dhakar 2019-07-22 07:31:54 -07:00
  • 2aa036737a test: Remove bad test case, colorcount(1) Lokesh Dhakar 2019-07-21 23:04:48 -07:00
  • 8236c9d71f refactor: Move validation logic to core Lokesh Dhakar 2019-07-21 22:58:43 -07:00
  • e9b323a6b2 refactor: Exploring idea of shared core lib Lokesh Dhakar 2019-07-21 21:54:25 -07:00
  • 71e007c1ec chore: Updated dist files Lokesh Dhakar 2019-07-21 18:57:49 -07:00
  • 695f73a5b7 fix: Use umd file for index.html testing. When running watch, the .min file doesn't get updated. Harder to test. Lokesh Dhakar 2019-07-21 18:57:40 -07:00
  • d527157d56 chore: Add get-pixels and quantize to deps list Lokesh Dhakar 2019-07-21 18:55:38 -07:00
  • 3e6de37ce7 test: Enable other palette count tests post-quantize func updates Lokesh Dhakar 2019-07-21 18:55:11 -07:00
  • c147abf7e7 refactor: Import quantize lib from repo Lokesh Dhakar 2019-07-21 18:54:27 -07:00
  • 4112ec46b1 refactor: Create sep repo for quantize lib and import Lokesh Dhakar 2019-07-21 18:54:04 -07:00
  • 658b6cbed4 feat: Node support via color-thief-node.js using get-pixel lib Lokesh Dhakar 2019-07-21 10:17:26 -07:00
  • f0ae4e6a6b chore: Update lock file and sourcemap files Lokesh Dhakar 2019-07-14 20:11:27 -07:00
  • 0d6045687d Merge pull request #161 from lokesh/add-module-support Lokesh Dhakar 2019-07-14 20:07:01 -07:00
  • c91f3e808e feat: Add module support with new dist files Lokesh Dhakar 2019-07-14 20:00:27 -07:00
  • 2708113d10 chore: Upgrade cypress dep Lokesh Dhakar 2019-07-14 10:12:19 -07:00
  • 6f5c2c8d7d chore: Rename project in package.json to colorthief from color-thief. Former is taken by null2. Lokesh Dhakar 2019-07-14 09:46:15 -07:00
  • 9a1f39b216 build: v2.1.0 Lokesh Dhakar 2019-07-14 09:32:13 -07:00
  • 654ae6ae66 Merge pull request #160 from lokesh/dev Lokesh Dhakar 2019-07-14 09:30:40 -07:00
  • 18ccfb4cff Merge pull request #159 from lokesh/docs-cypress-test Lokesh Dhakar 2019-07-14 09:28:28 -07:00
  • e9829f6514 docs: Info on adding Cypress browser tests Lokesh Dhakar 2019-07-14 09:27:49 -07:00
  • d957f73e6f Merge pull request #158 from lokesh/feat-demo-page Lokesh Dhakar 2019-07-14 09:21:30 -07:00
  • a271686ab9 fix: Test tpl using wrong elapsedTime var Lokesh Dhakar 2019-07-14 09:19:57 -07:00
  • b41cd65747 feat: Add demo page back index.html Lokesh Dhakar 2019-07-14 09:19:41 -07:00
  • ced6b5300d Merge pull request #157 from lokesh/test-folder-refactor Lokesh Dhakar 2019-07-14 08:41:59 -07:00
  • 44d7870641 chore: Add license to package.json and use mustache from node_modules Lokesh Dhakar 2019-07-14 08:39:50 -07:00
  • 3e7554b321 refactor: Move test demo page and assets into cypress folder Lokesh Dhakar 2019-07-14 08:38:57 -07:00
  • 50df0f30ef chore: Update node version in nvmrc Lokesh Dhakar 2019-07-14 08:38:18 -07:00
  • e8dc8e1670 Merge pull request #151 from lokesh/add-eslint Lokesh Dhakar 2019-05-26 22:16:31 -07:00
  • f31f148e0a style: Fixing var declarations and aligning to eslint rules Lokesh Dhakar 2019-05-26 22:13:05 -07:00
  • d82f147343 style: Add eslint Lokesh Dhakar 2019-05-26 22:12:17 -07:00
  • 47cdb18e14 Merge pull request #150 from lokesh/dont-append-dom Lokesh Dhakar 2019-05-26 20:34:15 -07:00
  • a921953d1a refactor: Don't append canvas to DOM Lokesh Dhakar 2019-05-26 20:31:37 -07:00
  • b61e6406a1 refactor: Remove console log from demo js Lokesh Dhakar 2019-05-26 20:30:33 -07:00
  • 9cea24a6bf refactor: Remove unused canvas methods Lokesh Dhakar 2019-05-26 20:28:38 -07:00
  • 20c33cc3bb chore: Upgrade Cypress and docs on how to run tests Lokesh Dhakar 2019-05-25 19:18:34 -07:00
  • 7a4e672b8c test: Add getPalette() tets Lokesh Dhakar 2019-05-02 09:04:23 -07:00
  • eef8742c0b docs: Add palette count calls to example page Lokesh Dhakar 2019-05-02 08:43:05 -07:00
  • fed4154d29 docs: Add API table Lokesh Dhakar 2019-05-02 08:23:32 -07:00
  • eb38ecf0dc chore: Update npm dev task to ref http-server in local node_modules Lokesh Dhakar 2019-05-02 08:23:15 -07:00
  • fa0ada7c33 Merge pull request #146 from lokesh/add-tests Lokesh Dhakar 2019-05-02 07:47:45 -07:00
  • 8e77715d5d Add tests: getColor on black, red, color, transparent, white image Lokesh Dhakar 2019-04-29 08:24:09 -07:00
  • 2ffa707ae0 Cleanup: remove unused jquery, tabs to spaces Lokesh Dhakar 2019-04-28 22:10:32 -07:00
  • e251daa01f Update demo code to be test specific. Remove jQuery Lokesh Dhakar 2019-04-28 21:12:48 -07:00
  • 621ae20cd3 Discontinue using SASS. Simplify CSS for test page Lokesh Dhakar 2019-04-28 21:12:26 -07:00