Skip to content

Commit

Permalink
changed initialize method to a private method.
Browse files Browse the repository at this point in the history
  • Loading branch information
wieringen committed Jan 20, 2015
1 parent 55edc6a commit adcd9db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/jquery.tinycolorpicker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/tinycolorpicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
* @method _initialize
* @private
*/
function initialize() {
function _initialize() {
if(hasCanvas) {
$canvas = document.createElement("canvas");
$track.appendChild($canvas);
Expand Down Expand Up @@ -253,7 +253,7 @@
return "#" + hex(result[0]) + hex(result[1]) + hex(result[2]);
};

return initialize();
return _initialize();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/tinycolorpicker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit adcd9db

Please sign in to comment.