guy 7 years ago
parent
commit
650ba05679
  1. 73190
      bi/base.js
  2. 25040
      bi/case.js
  3. 73190
      dist/base.js
  4. 191876
      dist/bundle.js
  5. 30
      dist/bundle.min.js
  6. 25040
      dist/case.js
  7. 29422
      dist/demo.js
  8. 24
      src/case/colorchooser/farbtastic/jquery.farbtastic.js

73190
bi/base.js

File diff suppressed because it is too large Load Diff

25040
bi/case.js

File diff suppressed because it is too large Load Diff

73190
dist/base.js vendored

File diff suppressed because it is too large Load Diff

191876
dist/bundle.js vendored

File diff suppressed because it is too large Load Diff

30
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

25040
dist/case.js vendored

File diff suppressed because it is too large Load Diff

29422
dist/demo.js vendored

File diff suppressed because one or more lines are too long

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