/home/techb158/workloadmatch.com/bower_components/jquery-ui/ui
NameSizeModeActions
i18n/-0777rm
minified/-0777rm
.jshintrc3360777editdlrm
accordion.js150210777editdlrm
autocomplete.js163860777editdlrm
button.js113270777editdlrm
core.js76620777editdlrm
datepicker.js779730777editdlrm
dialog.js218050777editdlrm
draggable.js349940777editdlrm
droppable.js116560777editdlrm
effect-blind.js21010777editdlrm
effect-bounce.js29660777editdlrm
effect-clip.js16450777editdlrm
effect-drop.js16510777editdlrm
effect-explode.js25810777editdlrm
effect-fade.js7330777editdlrm
effect-fold.js18750777editdlrm
effect-highlight.js11790777editdlrm
effect-puff.js12360777editdlrm
effect-pulsate.js15510777editdlrm
effect-scale.js20030777editdlrm
effect-shake.js21290777editdlrm
effect-size.js62360777editdlrm
effect-slide.js16490777editdlrm
effect-transfer.js14100777editdlrm
effect.js322830777editdlrm
menu.js169800777editdlrm
mouse.js53430777editdlrm
position.js160920777editdlrm
progressbar.js36660777editdlrm
resizable.js285840777editdlrm
selectable.js71360777editdlrm
selectmenu.js137640777editdlrm
slider.js192050777editdlrm
sortable.js433800777editdlrm
spinner.js129090777editdlrm
tabs.js231280777editdlrm
tooltip.js130450777editdlrm
widget.js158140777editdlrm
Edit: /home/techb158/workloadmatch.com/bower_components/jquery-ui/ui/draggable.js (34994B)
/*! * jQuery UI Draggable 1.11.4 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/draggable/ */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "jquery", "./core", "./mouse", "./widget" ], factory ); } else { // Browser globals factory( jQuery ); } }(function( $ ) { $.widget("ui.draggable", $.ui.mouse, { version: "1.11.4", widgetEventPrefix: "drag", options: { addClasses: true, appendTo: "parent", axis: false, connectToSortable: false, containment: false, cursor: "auto", cursorAt: false, grid: false, handle: false, helper: "original", iframeFix: false, opacity: false, refreshPositions: false, revert: false, revertDuration: 500, scope: "default", scroll: true, scrollSensitivity: 20, scrollSpeed: 20, snap: false, snapMode: "both", snapTolerance: 20, stack: false, zIndex: false, // callbacks drag: null, start: null, stop: null }, _create: function() { if ( this.options.helper === "original" ) { this._setPositionRelative(); } if (this.options.addClasses){ this.element.addClass("ui-draggable"); } if (this.options.disabled){ this.element.addClass("ui-draggable-disabled"); } this._setHandleClassName(); this._mouseInit(); }, _setOption: function( key, value ) { this._super( key, value ); if ( key === "handle" ) { this._removeHandleClassName(); this._setHandleClassName(); } }, _destroy: function() { if ( ( this.helper || this.element ).is( ".ui-draggable-dragging" ) ) { this.destroyOnClear = true; return; } this.element.removeClass( "ui-draggable ui-draggable-dragging ui-draggable-disabled" ); this._removeHandleClassName(); this._mouseDestroy(); }, _mouseCapture: function(event) { var o = this.options; this._blurActiveElement( event ); // among others, prevent a drag on a resizable-handle if (this.helper || o.disabled || $(event.target).closest(".ui-resizable-handle").length > 0) { return false; } //Quit if we're not on a valid handle this.handle = this._getHandle(event); if (!this.handle) { return false; } this._blockFrames( o.iframeFix === true ? "iframe" : o.iframeFix ); return true; }, _blockFrames: function( selector ) { this.iframeBlocks = this.document.find( selector ).map(function() { var iframe = $( this ); return $( "
" ) .css( "position", "absolute" ) .appendTo( iframe.parent() ) .outerWidth( iframe.outerWidth() ) .outerHeight( iframe.outerHeight() ) .offset( iframe.offset() )[ 0 ]; }); }, _unblockFrames: function() { if ( this.iframeBlocks ) { this.iframeBlocks.remove(); delete this.iframeBlocks; } }, _blurActiveElement: function( event ) { var document = this.document[ 0 ]; // Only need to blur if the event occurred on the draggable itself, see #10527 if ( !this.handleElement.is( event.target ) ) { return; } // support: IE9 // IE9 throws an "Unspecified error" accessing document.activeElement from an