better track the resulting javascript too.
This commit is contained in:
parent
a06a65bb95
commit
d2092d9189
12 changed files with 1265 additions and 0 deletions
22
16col/pallette.js
Normal file
22
16col/pallette.js
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// Generated by CoffeeScript 1.7.1
|
||||
(function() {
|
||||
var __hasProp = {}.hasOwnProperty;
|
||||
|
||||
({
|
||||
constructor: function(options) {
|
||||
var k, v, _results;
|
||||
this.colors = [];
|
||||
_results = [];
|
||||
for (k in options) {
|
||||
if (!__hasProp.call(options, k)) continue;
|
||||
v = options[k];
|
||||
_results.push(this[k] = v);
|
||||
}
|
||||
return _results;
|
||||
},
|
||||
toRgbaString: function(color) {
|
||||
return 'rgba(' + color.join(',') + ',1)';
|
||||
}
|
||||
});
|
||||
|
||||
}).call(this);
|
||||
Loading…
Add table
Add a link
Reference in a new issue