Skip to content

Commit

Permalink
Add utils to Colorjoe deps
Browse files Browse the repository at this point in the history
  • Loading branch information
bebraw committed May 4, 2012
1 parent d7eadbb commit 596e5db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/colorjoe.js
@@ -1,7 +1,7 @@
(function(root, factory) {
if(typeof define === 'function' && define.amd) define([], factory);
else root.colorjoe = factory();
}(this, function() {
if(typeof define === 'function' && define.amd) define(['utils'], factory);
else root.colorjoe = factory(root.utils);
}(this, function(utils) {
return function(o) {
o.cbs = o.cbs || {};

Expand Down
6 changes: 3 additions & 3 deletions src/rgbjoe.js
@@ -1,7 +1,7 @@
(function(root, factory) {
if(typeof define === 'function' && define.amd) define([], factory);
else root.rgbjoe = factory();
}(this, function() {
if(typeof define === 'function' && define.amd) define(['utils'], factory);
else root.rgbjoe = factory(root.utils);
}(this, function(utils) {
return function(e, initialColor) {
var joe = colorjoe({element: e, initialColor: initialColor, cbs: {
change: function(c) {
Expand Down

0 comments on commit 596e5db

Please sign in to comment.