From 238ce7ed8796a3614f463c3dbe4a18b2db685593 Mon Sep 17 00:00:00 2001 From: peterd Date: Tue, 17 Mar 2015 09:11:00 +0100 Subject: [PATCH] Typo fix buidCallback -> buildCallback --- README.md | 2 +- index.html | 18 +++++++++--------- jqColorPicker.js | 6 +++--- jqColorPicker.js.map | 2 +- jqColorPicker.min.js | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 0d30dcb..9f78b8a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ $('.color').colorPicker({ opacity: true, // enable / disable alpha slider renderCallback: function($elm, toggled) {}, // this === instance; $elm: the input field;toggle === true -> just appeared; false -> opposite; else -> is rendering on pointer move // toggled true/false can for example be used to check if the $elm has a certain className and then hide alpha,... - buidCallback: function($elm) {}, // this === instance; $elm: the UI + buildCallback: function($elm) {}, // this === instance; $elm: the UI css: '', // replaces existing css cssAddon: '', // adds css to existing margin: '', // positioning margin (can also be set in cssAddon) diff --git a/index.html b/index.html index 2c3b061..d678799 100644 --- a/index.html +++ b/index.html @@ -63,7 +63,7 @@ As Tiny jQuery colorPicker uses window.myColorPicker = $('input.color').colorPicker({ - buidCallback: function($elm) { + buildCallback: function($elm) { $elm.prepend('<div class="cp-disp"></div>'); }, cssAddon: @@ -95,9 +95,9 @@ window.myColorPicker = $('input.color').colorPicker({ - - - + + +