Correct README regarding createPalette return value format #3

Closed
jfsiii opened this Issue Nov 9, 2011 · 1 comment

Projects

None yet

2 participants

@jfsiii

The README says:

createPalette(sourceImage, colorCount)

returns array[ {r: num, g: num, b: num}, {r: num, g: num, b: num}, ...]

but it actually returns [ [num, num, num], [num, num, num], ...]

@lokesh lokesh was assigned Nov 9, 2011
@lokesh lokesh added a commit that referenced this issue Apr 23, 2012
@lokesh FIX: issue #9 - applying css attribs over img ruins the palette funct…
…ion. FIX: issue #3- update README regarding createPalette return val
79d4c70
@lokesh
Owner

Done.

@lokesh lokesh closed this Apr 23, 2012
@jfsiii jfsiii added a commit that referenced this issue May 14, 2012
@jfsiii jfsiii Merge branch 'master' of https://github.com/lokesh/color-thief
* 'master' of https://github.com/lokesh/color-thief:
  .
  js file had incorrect script name at top
  FIX: issue #9 - applying css attribs over img ruins the palette function. FIX: issue #3- update README regarding createPalette return val
  github pull requests all added manually
  All of jfsiii awesome edits are now in place.
  test
  Fix for lack of quantize response
  text updates to the demo page, minor

Conflicts:
	index.js
	js/color-thief.js
ae1eec5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment