guy 7 years ago
parent
commit
650ba05679
  1. 24
      bi/case.js
  2. 24
      dist/bundle.js
  3. 30
      dist/bundle.min.js
  4. 24
      dist/case.js
  5. 24
      src/case/colorchooser/farbtastic/jquery.farbtastic.js

24
bi/case.js

@ -4619,12 +4619,12 @@ jQuery._farbtastic = function (container, callback) {
/** /**
* Mousedown handler * Mousedown handler
*/ */
fb.mousedown = function (event) { fb.click = function (event) {
// Capture mouse // Capture mouse
if (!document.dragging) { // if (!document.dragging) {
$(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup); // $(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup);
document.dragging = true; // document.dragging = true;
} // }
// Check which area is being dragged // Check which area is being dragged
var pos = fb.widgetCoords(event); var pos = fb.widgetCoords(event);
@ -4659,12 +4659,12 @@ jQuery._farbtastic = function (container, callback) {
/** /**
* Mouseup handler * Mouseup handler
*/ */
fb.mouseup = function () { // fb.mouseup = function () {
// Uncapture mouse // // Uncapture mouse
$(document).unbind('mousemove', fb.mousemove); // $(document).unbind('mousemove', fb.mousemove);
$(document).unbind('mouseup', fb.mouseup); // $(document).unbind('mouseup', fb.mouseup);
document.dragging = false; // document.dragging = false;
} // }
/** /**
* Update the markers and styles * Update the markers and styles
@ -4782,7 +4782,7 @@ jQuery._farbtastic = function (container, callback) {
} }
// Install mousedown handler (the others are set on the document on-demand) // Install mousedown handler (the others are set on the document on-demand)
$('*', e).mousedown(fb.mousedown); $('*', e).click(fb.click);
// Init color // Init color
fb.setColor('#000000'); fb.setColor('#000000');

24
dist/bundle.js vendored

@ -70386,12 +70386,12 @@ jQuery._farbtastic = function (container, callback) {
/** /**
* Mousedown handler * Mousedown handler
*/ */
fb.mousedown = function (event) { fb.click = function (event) {
// Capture mouse // Capture mouse
if (!document.dragging) { // if (!document.dragging) {
$(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup); // $(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup);
document.dragging = true; // document.dragging = true;
} // }
// Check which area is being dragged // Check which area is being dragged
var pos = fb.widgetCoords(event); var pos = fb.widgetCoords(event);
@ -70426,12 +70426,12 @@ jQuery._farbtastic = function (container, callback) {
/** /**
* Mouseup handler * Mouseup handler
*/ */
fb.mouseup = function () { // fb.mouseup = function () {
// Uncapture mouse // // Uncapture mouse
$(document).unbind('mousemove', fb.mousemove); // $(document).unbind('mousemove', fb.mousemove);
$(document).unbind('mouseup', fb.mouseup); // $(document).unbind('mouseup', fb.mouseup);
document.dragging = false; // document.dragging = false;
} // }
/** /**
* Update the markers and styles * Update the markers and styles
@ -70549,7 +70549,7 @@ jQuery._farbtastic = function (container, callback) {
} }
// Install mousedown handler (the others are set on the document on-demand) // Install mousedown handler (the others are set on the document on-demand)
$('*', e).mousedown(fb.mousedown); $('*', e).click(fb.click);
// Init color // Init color
fb.setColor('#000000'); fb.setColor('#000000');

30
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/case.js vendored

@ -4619,12 +4619,12 @@ jQuery._farbtastic = function (container, callback) {
/** /**
* Mousedown handler * Mousedown handler
*/ */
fb.mousedown = function (event) { fb.click = function (event) {
// Capture mouse // Capture mouse
if (!document.dragging) { // if (!document.dragging) {
$(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup); // $(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup);
document.dragging = true; // document.dragging = true;
} // }
// Check which area is being dragged // Check which area is being dragged
var pos = fb.widgetCoords(event); var pos = fb.widgetCoords(event);
@ -4659,12 +4659,12 @@ jQuery._farbtastic = function (container, callback) {
/** /**
* Mouseup handler * Mouseup handler
*/ */
fb.mouseup = function () { // fb.mouseup = function () {
// Uncapture mouse // // Uncapture mouse
$(document).unbind('mousemove', fb.mousemove); // $(document).unbind('mousemove', fb.mousemove);
$(document).unbind('mouseup', fb.mouseup); // $(document).unbind('mouseup', fb.mouseup);
document.dragging = false; // document.dragging = false;
} // }
/** /**
* Update the markers and styles * Update the markers and styles
@ -4782,7 +4782,7 @@ jQuery._farbtastic = function (container, callback) {
} }
// Install mousedown handler (the others are set on the document on-demand) // Install mousedown handler (the others are set on the document on-demand)
$('*', e).mousedown(fb.mousedown); $('*', e).click(fb.click);
// Init color // Init color
fb.setColor('#000000'); fb.setColor('#000000');

24
src/case/colorchooser/farbtastic/jquery.farbtastic.js

@ -170,12 +170,12 @@ jQuery._farbtastic = function (container, callback) {
/** /**
* Mousedown handler * Mousedown handler
*/ */
fb.mousedown = function (event) { fb.click = function (event) {
// Capture mouse // Capture mouse
if (!document.dragging) { // if (!document.dragging) {
$(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup); // $(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup);
document.dragging = true; // document.dragging = true;
} // }
// Check which area is being dragged // Check which area is being dragged
var pos = fb.widgetCoords(event); var pos = fb.widgetCoords(event);
@ -210,12 +210,12 @@ jQuery._farbtastic = function (container, callback) {
/** /**
* Mouseup handler * Mouseup handler
*/ */
fb.mouseup = function () { // fb.mouseup = function () {
// Uncapture mouse // // Uncapture mouse
$(document).unbind('mousemove', fb.mousemove); // $(document).unbind('mousemove', fb.mousemove);
$(document).unbind('mouseup', fb.mouseup); // $(document).unbind('mouseup', fb.mouseup);
document.dragging = false; // document.dragging = false;
} // }
/** /**
* Update the markers and styles * Update the markers and styles
@ -333,7 +333,7 @@ jQuery._farbtastic = function (container, callback) {
} }
// Install mousedown handler (the others are set on the document on-demand) // Install mousedown handler (the others are set on the document on-demand)
$('*', e).mousedown(fb.mousedown); $('*', e).click(fb.click);
// Init color // Init color
fb.setColor('#000000'); fb.setColor('#000000');

Loading…
Cancel
Save