Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4aa88ca011
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (32 sloc) 1.358 kb

VisualHash

Converts the data inside an input element to colors

Getting Started

Documentation

(Coming soon)

Examples

(Coming soon)

Running Tests

Right now to run tests, you need to have node installed as well as the following packages (inside the tests folder):

  • mocha npm install mocha
  • chai npm install chai
  • jsdom npm install jsdom

Then either open the index.html in your browser window or run make test or make test-browser in your terminal from the root folder.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Also, please don't edit files in the "dist" subdirectory as they are generated automatically. You'll find source code in the "src" subdirectory!

TODO

  • Make Makefile to run tests, minify and create dist files.
  • Finish tests
  • Fix JSCoverage to better replicate the script usage
  • Write default CSS

Release History

(Nothing yet)

License

Copyright (c) 2012 Luís Couto Licensed under the MIT License

Jump to Line
Something went wrong with that request. Please try again.