Skip to content

Commit

Permalink
Always expose tinycolor to window. Issue #41
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrins committed Aug 18, 2013
1 parent 5c2eaf6 commit 93f3381
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spectrum.js
Original file line number Diff line number Diff line change
Expand Up @@ -1925,6 +1925,8 @@

})();

// Expose tinycolor to window, does not need to run in non-browser context.
window.tinycolor = tinycolor;

$(function () {
if ($.fn.spectrum.load) {
Expand Down

0 comments on commit 93f3381

Please sign in to comment.