mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-30 11:30:08 +00:00
[fix] In-proper scope reference. Closes #124
This commit is contained in:
parent
5a2773dbec
commit
81981ae7c6
@ -86,7 +86,7 @@ module['exports'] = function () {
|
|||||||
addProperty(prop, function () {
|
addProperty(prop, function () {
|
||||||
var ret = this;
|
var ret = this;
|
||||||
for (var t = 0; t < theme[prop].length; t++) {
|
for (var t = 0; t < theme[prop].length; t++) {
|
||||||
ret = exports[theme[prop][t]](ret);
|
ret = colors[theme[prop][t]](ret);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user