Updated .env

This commit is contained in:
m.razaghi
2026-08-20 18:17:56 +03:30
parent 0771bb16f2
commit 2b5d218f42
20 changed files with 1448 additions and 1448 deletions

View File

@@ -2,7 +2,7 @@ APP_NAME=Laravel
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=https://your-actual-domain.com
APP_URL=https://law.ghaafapp.ir
LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
@@ -11,9 +11,9 @@ LOG_LEVEL=error
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password
DB_DATABASE=law
DB_USERNAME=root
DB_PASSWORD=sH1382@@
BROADCAST_DRIVER=pusher
CACHE_DRIVER=file

View File

@@ -25,7 +25,7 @@ return [
|
| This value determines the "environment" your application is currently
| running in. This may determine how you prefer to configure various
| services the application utilizes. Set this in your ".env.bak" file.
| services the application utilizes. Set this in your ".env" file.
|
*/

View File

@@ -328,7 +328,7 @@
// If the end of the range is before the minimum or the start of the range is
// after the maximum, don't display this range option at all.
if ((this.minDate && end.isBefore(this.minDate, this.timepicker ? 'minute' : 'day'))
if ((this.minDate && end.isBefore(this.minDate, this.timepicker ? 'minute' : 'day'))
|| (maxDate && start.isAfter(maxDate, this.timepicker ? 'minute' : 'day')))
continue;
@@ -405,7 +405,7 @@
this.container.find('.cancelBtn').html(this.locale.cancelLabel);
//
// event listeners
// Events listeners
//
this.container.find('.calendar')
@@ -1359,7 +1359,7 @@
this.updateView();
//This is to cancel the blur event handler if the mouse was in one of the inputs
//This is to cancel the blur Events handler if the mouse was in one of the inputs
e.stopPropagation();
},
@@ -1526,7 +1526,7 @@
this.container.find('input[name="daterangepicker_start"], input[name="daterangepicker_end"]').removeClass('active');
$(e.target).addClass('active');
// Set the state such that if the user goes back to using a mouse,
// Set the state such that if the user goes back to using a mouse,
// the calendars are aware we're selecting the end of the range, not
// the start. This allows someone to edit the end of a date range without
// re-selecting the beginning, by clicking on the end date input then

File diff suppressed because it is too large Load Diff

View File

@@ -68,9 +68,9 @@ function () {
_createClass(Emitter, [{
key: "on",
// Add an event listener for given event
// Add an Events listener for given Events
value: function on(event, fn) {
this._callbacks = this._callbacks || {}; // Create namespace for this event
this._callbacks = this._callbacks || {}; // Create namespace for this Events
if (!this._callbacks[event]) {
this._callbacks[event] = [];
@@ -117,9 +117,9 @@ function () {
}
return this;
} // Remove event listener for given event. If fn is not provided, all event
// listeners for that event will be removed. If neither is provided, all
// event listeners will be removed.
} // Remove Events listener for given Events. If fn is not provided, all Events
// listeners for that Events will be removed. If neither is provided, all
// Events listeners will be removed.
}, {
key: "off",
@@ -127,7 +127,7 @@ function () {
if (!this._callbacks || arguments.length === 0) {
this._callbacks = {};
return this;
} // specific event
} // specific Events
var callbacks = this._callbacks[event];
@@ -171,7 +171,7 @@ function (_Emitter) {
this.prototype.Emitter = Emitter;
/*
This is a list of all available events you can register on a dropzone object.
You can register an event handler like this:
You can register an Events handler like this:
dropzone.on("dragEnter", function() { });
*/
@@ -253,7 +253,7 @@ function (_Emitter) {
/**
* If not `null` defines how many files this Dropzone handles. If it exceeds,
* the event `maxfilesexceeded` will be called. The dropzone element gets the
* the Events `maxfilesexceeded` will be called. The dropzone element gets the
* class `dz-max-files-reached` accordingly so you can provide visual feedback.
*/
maxFilesize: 256,
@@ -528,7 +528,7 @@ function (_Emitter) {
/**
* Called when dropzone initialized
* You can add event listeners here
* You can add Events listeners here
*/
init: function init() {},
@@ -739,7 +739,7 @@ function (_Emitter) {
the user interface specific stuff. Overwriting them won't break the upload
but can break the way it's displayed.
You can overwrite them if you don't like the default behavior. If you just
want to add an additional event handler, register it on the dropzone object
want to add an additional Events handler, register it on the dropzone object
and don't overwrite those options.
*/
// Those are self explanatory and simply concern the DragnDrop.
@@ -1214,7 +1214,7 @@ function (_Emitter) {
return file;
});
} // The function that gets called when Dropzone is initialized. You
// can (and should) setup event listeners inside this function.
// can (and should) setup Events listeners inside this function.
}, {
key: "init",
@@ -1302,7 +1302,7 @@ function (_Emitter) {
setupHiddenFileInput();
}
this.URL = window.URL !== null ? window.URL : window.webkitURL; // Setup all event listeners on the Dropzone object itself.
this.URL = window.URL !== null ? window.URL : window.webkitURL; // Setup all Events listeners on the Dropzone object itself.
// They're not in @setupEventListeners() because they shouldn't be removed
// again when the dropzone gets disabled.
@@ -1338,7 +1338,7 @@ function (_Emitter) {
});
this.on("canceled", function (file) {
return _this3.emit("complete", file);
}); // Emit a `queuecomplete` event if all files finished uploading.
}); // Emit a `queuecomplete` Events if all files finished uploading.
this.on("complete", function (file) {
if (_this3.getAddedFiles().length === 0 && _this3.getUploadingFiles().length === 0 && _this3.getQueuedFiles().length === 0) {
@@ -1617,7 +1617,7 @@ function (_Emitter) {
return result;
}();
});
} // Removes all event listeners and cancels all files in the queue or being processed.
} // Removes all Events listeners and cancels all files in the queue or being processed.
}, {
key: "disable",
@@ -2122,7 +2122,7 @@ function (_Emitter) {
fileReader.readAsDataURL(file);
} // `mockFile` needs to have these attributes:
//
//
// { name: 'name', size: 12345, imageUrl: '' }
//
// `callback` will be invoked when the image has been downloaded and displayed.
@@ -3842,4 +3842,4 @@ function __guardMethod__(obj, methodName, transform) {
}
return module.exports;
}));
}));

View File

@@ -56,9 +56,9 @@ function () {
_createClass(Emitter, [{
key: "on",
// Add an event listener for given event
// Add an Events listener for given Events
value: function on(event, fn) {
this._callbacks = this._callbacks || {}; // Create namespace for this event
this._callbacks = this._callbacks || {}; // Create namespace for this Events
if (!this._callbacks[event]) {
this._callbacks[event] = [];
@@ -105,9 +105,9 @@ function () {
}
return this;
} // Remove event listener for given event. If fn is not provided, all event
// listeners for that event will be removed. If neither is provided, all
// event listeners will be removed.
} // Remove Events listener for given Events. If fn is not provided, all Events
// listeners for that Events will be removed. If neither is provided, all
// Events listeners will be removed.
}, {
key: "off",
@@ -115,7 +115,7 @@ function () {
if (!this._callbacks || arguments.length === 0) {
this._callbacks = {};
return this;
} // specific event
} // specific Events
var callbacks = this._callbacks[event];
@@ -159,7 +159,7 @@ function (_Emitter) {
this.prototype.Emitter = Emitter;
/*
This is a list of all available events you can register on a dropzone object.
You can register an event handler like this:
You can register an Events handler like this:
dropzone.on("dragEnter", function() { });
*/
@@ -241,7 +241,7 @@ function (_Emitter) {
/**
* If not `null` defines how many files this Dropzone handles. If it exceeds,
* the event `maxfilesexceeded` will be called. The dropzone element gets the
* the Events `maxfilesexceeded` will be called. The dropzone element gets the
* class `dz-max-files-reached` accordingly so you can provide visual feedback.
*/
maxFilesize: 256,
@@ -516,7 +516,7 @@ function (_Emitter) {
/**
* Called when dropzone initialized
* You can add event listeners here
* You can add Events listeners here
*/
init: function init() {},
@@ -727,7 +727,7 @@ function (_Emitter) {
the user interface specific stuff. Overwriting them won't break the upload
but can break the way it's displayed.
You can overwrite them if you don't like the default behavior. If you just
want to add an additional event handler, register it on the dropzone object
want to add an additional Events handler, register it on the dropzone object
and don't overwrite those options.
*/
// Those are self explanatory and simply concern the DragnDrop.
@@ -1202,7 +1202,7 @@ function (_Emitter) {
return file;
});
} // The function that gets called when Dropzone is initialized. You
// can (and should) setup event listeners inside this function.
// can (and should) setup Events listeners inside this function.
}, {
key: "init",
@@ -1290,7 +1290,7 @@ function (_Emitter) {
setupHiddenFileInput();
}
this.URL = window.URL !== null ? window.URL : window.webkitURL; // Setup all event listeners on the Dropzone object itself.
this.URL = window.URL !== null ? window.URL : window.webkitURL; // Setup all Events listeners on the Dropzone object itself.
// They're not in @setupEventListeners() because they shouldn't be removed
// again when the dropzone gets disabled.
@@ -1326,7 +1326,7 @@ function (_Emitter) {
});
this.on("canceled", function (file) {
return _this3.emit("complete", file);
}); // Emit a `queuecomplete` event if all files finished uploading.
}); // Emit a `queuecomplete` Events if all files finished uploading.
this.on("complete", function (file) {
if (_this3.getAddedFiles().length === 0 && _this3.getUploadingFiles().length === 0 && _this3.getQueuedFiles().length === 0) {
@@ -1605,7 +1605,7 @@ function (_Emitter) {
return result;
}();
});
} // Removes all event listeners and cancels all files in the queue or being processed.
} // Removes all Events listeners and cancels all files in the queue or being processed.
}, {
key: "disable",
@@ -2110,7 +2110,7 @@ function (_Emitter) {
fileReader.readAsDataURL(file);
} // `mockFile` needs to have these attributes:
//
//
// { name: 'name', size: 12345, imageUrl: '' }
//
// `callback` will be invoked when the image has been downloaded and displayed.

View File

@@ -25,7 +25,7 @@ The plugin also adds four public methods:
moves the mouse. "pos" is in coordinates of the plot and should be on the
form { x: xpos, y: ypos } (you can use x2/x3/... if you're using multiple
axes), which is coincidentally the same format as what you get from a
"plothover" event. If "pos" is null, the crosshair is cleared.
"plothover" Events. If "pos" is null, the crosshair is cleared.
- clearCrosshair()
@@ -66,7 +66,7 @@ The plugin also adds four public methods:
lineWidth: 1
}
};
function init(plot) {
// position of crosshair in pixels
var crosshair = { x: -1, y: -1, locked: false };
@@ -79,12 +79,12 @@ The plugin also adds four public methods:
crosshair.x = Math.max(0, Math.min(o.left, plot.width()));
crosshair.y = Math.max(0, Math.min(o.top, plot.height()));
}
plot.triggerRedrawOverlay();
};
plot.clearCrosshair = plot.setCrosshair; // passes null for pos
plot.lockCrosshair = function lockCrosshair(pos) {
if (pos)
plot.setCrosshair(pos);
@@ -108,18 +108,18 @@ The plugin also adds four public methods:
function onMouseMove(e) {
if (crosshair.locked)
return;
if (plot.getSelection && plot.getSelection()) {
crosshair.x = -1; // hide the crosshair while selecting
return;
}
var offset = plot.offset();
crosshair.x = Math.max(0, Math.min(e.pageX - offset.left, plot.width()));
crosshair.y = Math.max(0, Math.min(e.pageY - offset.top, plot.height()));
plot.triggerRedrawOverlay();
}
plot.hooks.bindEvents.push(function (plot, eventHolder) {
if (!plot.getOptions().crosshair.mode)
return;
@@ -134,7 +134,7 @@ The plugin also adds four public methods:
return;
var plotOffset = plot.getPlotOffset();
ctx.save();
ctx.translate(plotOffset.left, plotOffset.top);
@@ -166,7 +166,7 @@ The plugin also adds four public methods:
eventHolder.unbind("mousemove", onMouseMove);
});
}
$.plot.plugins.push({
init: init,
options: options,

View File

@@ -69,11 +69,11 @@ Google Maps).
var urls = [], points = [];
var defaultShow = options.series.images.show;
$.each(series, function (i, s) {
if (!(defaultShow || s.images.show))
return;
if (s.data)
s = s.data;
@@ -95,7 +95,7 @@ Google Maps).
callback();
});
}
$.plot.image.load = function (urls, callback) {
var missing = urls.length, loaded = {};
if (missing == 0)
@@ -104,9 +104,9 @@ Google Maps).
$.each(urls, function (i, url) {
var handler = function () {
--missing;
loaded[url] = this;
if (missing == 0)
callback(loaded);
};
@@ -114,16 +114,16 @@ Google Maps).
$('<img />').load(handler).error(handler).attr('src', url);
});
};
function drawSeries(plot, ctx, series) {
var plotOffset = plot.getPlotOffset();
if (!series.images || !series.images.show)
return;
var points = series.datapoints.points,
ps = series.datapoints.pointsize;
for (var i = 0; i < points.length; i += ps) {
var img = points[i],
x1 = points[i + 1], y1 = points[i + 2],
@@ -133,7 +133,7 @@ Google Maps).
// actually we should check img.complete, but it
// appears to be a somewhat unreliable indicator in
// IE6 (false even after load event)
// IE6 (false even after load Events)
if (!img || img.width <= 0 || img.height <= 0)
continue;
@@ -147,8 +147,8 @@ Google Maps).
y2 = y1;
y1 = tmp;
}
// if the anchor is at the center of the pixel, expand the
// if the anchor is at the center of the pixel, expand the
// image by 1/2 pixel in each direction
if (series.images.anchor == "center") {
tmp = 0.5 * (x2-x1) / (img.width - 1);
@@ -158,7 +158,7 @@ Google Maps).
y1 -= tmp;
y2 += tmp;
}
// clip
if (x1 == x2 || y1 == y2 ||
x1 >= xaxis.max || x2 <= xaxis.min ||
@@ -185,12 +185,12 @@ Google Maps).
sy1 += (sy1 - sy2) * (yaxis.max - y2) / (y2 - y1);
y2 = yaxis.max;
}
x1 = xaxis.p2c(x1);
x2 = xaxis.p2c(x2);
y1 = yaxis.p2c(y1);
y2 = yaxis.p2c(y2);
// the transformation may have swapped us
if (x1 > x2) {
tmp = x2;
@@ -226,12 +226,12 @@ Google Maps).
{ y: true, number: true, required: true }
];
}
function init(plot) {
plot.hooks.processRawData.push(processRawData);
plot.hooks.drawSeries.push(drawSeries);
}
$.plot.plugins.push({
init: init,
options: options,

View File

@@ -2010,7 +2010,7 @@ Licensed under the MIT license.
ctx.lineTo(xrange.to + subPixel, yrange.to);
} else {
ctx.moveTo(xrange.from, yrange.to + subPixel);
ctx.lineTo(xrange.to, yrange.to + subPixel);
ctx.lineTo(xrange.to, yrange.to + subPixel);
}
ctx.stroke();
} else {
@@ -2525,9 +2525,9 @@ Licensed under the MIT license.
radius = series.points.radius,
symbol = series.points.symbol;
// If the user sets the line width to 0, we change it to a very
// If the user sets the line width to 0, we change it to a very
// small value. A line width of 0 seems to force the default of 1.
// Doing the conditional here allows the shadow setting to still be
// Doing the conditional here allows the shadow setting to still be
// optional even with a lineWidth of 0.
if( lw == 0 )
@@ -2943,7 +2943,7 @@ Licensed under the MIT license.
function (s) { return s["clickable"] != false; });
}
// trigger click or hover event (they send the same parameters
// trigger click or hover Events (they send the same parameters
// so we share their code)
function triggerClickHoverEvent(eventname, event, seriesFilter) {
var offset = eventHolder.offset(),
@@ -2982,7 +2982,7 @@ Licensed under the MIT license.
function triggerRedrawOverlay() {
var t = options.interaction.redrawOverlayInterval;
if (t == -1) { // skip event queue
if (t == -1) { // skip Events queue
drawOverlay();
return;
}

View File

@@ -79,12 +79,12 @@ can set the default in the options.
*/
// First two dependencies, jquery.event.drag.js and
// First two dependencies, jquery.Events.drag.js and
// jquery.mousewheel.js, we put them inline here to save people the
// effort of downloading them.
/*
jquery.event.drag.js ~ v1.5 ~ Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
jquery.Events.drag.js ~ v1.5 ~ Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-LICENSE.txt
*/
(function(a){function e(h){var k,j=this,l=h.data||{};if(l.elem)j=h.dragTarget=l.elem,h.dragProxy=d.proxy||j,h.cursorOffsetX=l.pageX-l.left,h.cursorOffsetY=l.pageY-l.top,h.offsetX=h.pageX-h.cursorOffsetX,h.offsetY=h.pageY-h.cursorOffsetY;else if(d.dragging||l.which>0&&h.which!=l.which||a(h.target).is(l.not))return;switch(h.type){case"mousedown":return a.extend(l,a(j).offset(),{elem:j,target:h.target,pageX:h.pageX,pageY:h.pageY}),b.add(document,"mousemove mouseup",e,l),i(j,!1),d.dragging=null,!1;case!d.dragging&&"mousemove":if(g(h.pageX-l.pageX)+g(h.pageY-l.pageY)<l.distance)break;h.target=l.target,k=f(h,"dragstart",j),k!==!1&&(d.dragging=j,d.proxy=h.dragProxy=a(k||j)[0]);case"mousemove":if(d.dragging){if(k=f(h,"drag",j),c.drop&&(c.drop.allowed=k!==!1,c.drop.handler(h)),k!==!1)break;h.type="mouseup"}case"mouseup":b.remove(document,"mousemove mouseup",e),d.dragging&&(c.drop&&c.drop.handler(h),f(h,"dragend",j)),i(j,!0),d.dragging=d.proxy=l.elem=!1}return!0}function f(b,c,d){b.type=c;var e=a.event.dispatch.call(d,b);return e===!1?!1:e||b.result}function g(a){return Math.pow(a,2)}function h(){return d.dragging===!1}function i(a,b){a&&(a.unselectable=b?"off":"on",a.onselectstart=function(){return b},a.style&&(a.style.MozUserSelect=b?"":"none"))}a.fn.drag=function(a,b,c){return b&&this.bind("dragstart",a),c&&this.bind("dragend",c),a?this.bind("drag",b?b:a):this.trigger("drag")};var b=a.event,c=b.special,d=c.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(c){c=a.extend({distance:d.distance,which:d.which,not:d.not},c||{}),c.distance=g(c.distance),b.add(this,"mousedown",e,c),this.attachEvent&&this.attachEvent("ondragstart",h)},teardown:function(){b.remove(this,"mousedown",e),this===d.dragging&&(d.dragging=d.proxy=!1),i(this,!0),this.detachEvent&&this.detachEvent("ondragstart",h)}};c.dragstart=c.dragend={setup:function(){},teardown:function(){}}})(jQuery);
@@ -139,7 +139,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
onZoomClick(e, delta < 0);
return false;
}
var prevCursor = 'default', prevPageX = 0, prevPageY = 0,
panTimeout = null;
@@ -153,7 +153,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
prevPageX = e.pageX;
prevPageY = e.pageY;
}
function onDrag(e) {
var frameRate = plot.getOptions().pan.frameRate;
if (panTimeout || !frameRate)
@@ -164,7 +164,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
top: prevPageY - e.pageY });
prevPageX = e.pageX;
prevPageY = e.pageY;
panTimeout = null;
}, 1 / frameRate * 1000);
}
@@ -174,12 +174,12 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
clearTimeout(panTimeout);
panTimeout = null;
}
plot.getPlaceholder().css('cursor', prevCursor);
plot.pan({ left: prevPageX - e.pageX,
top: prevPageY - e.pageY });
}
function bindEvents(plot, eventHolder) {
var o = plot.getOptions();
if (o.zoom.interactive) {
@@ -197,25 +197,25 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
plot.zoomOut = function (args) {
if (!args)
args = {};
if (!args.amount)
args.amount = plot.getOptions().zoom.amount;
args.amount = 1 / args.amount;
plot.zoom(args);
};
plot.zoom = function (args) {
if (!args)
args = {};
var c = args.center,
amount = args.amount || plot.getOptions().zoom.amount,
w = plot.width(), h = plot.height();
if (!c)
c = { left: w / 2, top: h / 2 };
var xf = c.left / w,
yf = c.top / h,
minmax = {
@@ -238,7 +238,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
if (zr === false) // no zooming on this axis
return;
min = axis.c2p(min);
max = axis.c2p(max);
if (min > max) {
@@ -263,14 +263,14 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
((zr[0] != null && range < zr[0] && amount >1) ||
(zr[1] != null && range > zr[1] && amount <1)))
return;
opts.min = min;
opts.max = max;
});
plot.setupGrid();
plot.draw();
if (!args.preventEvent)
plot.getPlaceholder().trigger("plotzoom", [ plot, args ]);
};
@@ -296,7 +296,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
var pr = opts.panRange;
if (pr === false) // no panning on this axis
return;
if (pr) {
// check whether we hit the wall
if (pr[0] != null && pr[0] > min) {
@@ -304,21 +304,21 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
min += d;
max += d;
}
if (pr[1] != null && pr[1] < max) {
d = pr[1] - max;
min += d;
max += d;
}
}
opts.min = min;
opts.max = max;
});
plot.setupGrid();
plot.draw();
if (!args.preventEvent)
plot.getPlaceholder().trigger("plotpan", [ plot, args ]);
};
@@ -332,11 +332,11 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
if (panTimeout)
clearTimeout(panTimeout);
}
plot.hooks.bindEvents.push(bindEvents);
plot.hooks.shutdown.push(shutdown);
}
$.plot.plugins.push({
init: init,
options: options,

View File

@@ -649,7 +649,7 @@ More detail and specific examples can be found in the included HTML file.
triggerClickHoverEvent("plotclick", e);
}
// trigger click or hover event (they send the same parameters so we share their code)
// trigger click or hover Events (they send the same parameters so we share their code)
function triggerClickHoverEvent(eventname, e) {

View File

@@ -4,7 +4,7 @@ Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
It works by listening for changes on the placeholder div (through the jQuery
resize event plugin) - if the size changes, it will redraw the plot.
resize Events plugin) - if the size changes, it will redraw the plot.
There are no options. If you need to disable the plugin for some plots, you
can just fix the size of their placeholders.
@@ -12,14 +12,14 @@ can just fix the size of their placeholders.
*/
/* Inline dependency:
* jQuery resize event - v1.1 - 3/14/2010
* jQuery resize Events - v1.1 - 3/14/2010
* http://benalman.com/projects/jquery-resize-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
(function($,e,t){"$:nomunge";var i=[],n=$.resize=$.extend($.resize,{}),a,r=false,s="setTimeout",u="resize",m=u+"-special-event",o="pendingDelay",l="activeDelay",f="throttleWindow";n[o]=200;n[l]=20;n[f]=true;$.event.special[u]={setup:function(){if(!n[f]&&this[s]){return false}var e=$(this);i.push(this);e.data(m,{w:e.width(),h:e.height()});if(i.length===1){a=t;h()}},teardown:function(){if(!n[f]&&this[s]){return false}var e=$(this);for(var t=i.length-1;t>=0;t--){if(i[t]==this){i.splice(t,1);break}}e.removeData(m);if(!i.length){if(r){cancelAnimationFrame(a)}else{clearTimeout(a)}a=null}},add:function(e){if(!n[f]&&this[s]){return false}var i;function a(e,n,a){var r=$(this),s=r.data(m)||{};s.w=n!==t?n:r.width();s.h=a!==t?a:r.height();i.apply(this,arguments)}if($.isFunction(e)){i=e;return a}else{i=e.handler;e.handler=a}}};function h(t){if(r===true){r=t||1}for(var s=i.length-1;s>=0;s--){var l=$(i[s]);if(l[0]==e||l.is(":visible")){var f=l.width(),c=l.height(),d=l.data(m);if(d&&(f!==d.w||c!==d.h)){l.trigger(u,[d.w=f,d.h=c]);r=t||true}}else{d=l.data(m);d.w=0;d.h=0}}if(a!==null){if(r&&(t==null||t-r<1e3)){a=e.requestAnimationFrame(h)}else{a=setTimeout(h,n[o]);r=false}}}if(!e.requestAnimationFrame){e.requestAnimationFrame=function(){return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t,i){return e.setTimeout(function(){t((new Date).getTime())},n[l])}}()}if(!e.cancelAnimationFrame){e.cancelAnimationFrame=function(){return e.webkitCancelRequestAnimationFrame||e.mozCancelRequestAnimationFrame||e.oCancelRequestAnimationFrame||e.msCancelRequestAnimationFrame||clearTimeout}()}})(jQuery,this);
(function($,e,t){"$:nomunge";var i=[],n=$.resize=$.extend($.resize,{}),a,r=false,s="setTimeout",u="resize",m=u+"-special-Events",o="pendingDelay",l="activeDelay",f="throttleWindow";n[o]=200;n[l]=20;n[f]=true;$.event.special[u]={setup:function(){if(!n[f]&&this[s]){return false}var e=$(this);i.push(this);e.data(m,{w:e.width(),h:e.height()});if(i.length===1){a=t;h()}},teardown:function(){if(!n[f]&&this[s]){return false}var e=$(this);for(var t=i.length-1;t>=0;t--){if(i[t]==this){i.splice(t,1);break}}e.removeData(m);if(!i.length){if(r){cancelAnimationFrame(a)}else{clearTimeout(a)}a=null}},add:function(e){if(!n[f]&&this[s]){return false}var i;function a(e,n,a){var r=$(this),s=r.data(m)||{};s.w=n!==t?n:r.width();s.h=a!==t?a:r.height();i.apply(this,arguments)}if($.isFunction(e)){i=e;return a}else{i=e.handler;e.handler=a}}};function h(t){if(r===true){r=t||1}for(var s=i.length-1;s>=0;s--){var l=$(i[s]);if(l[0]==e||l.is(":visible")){var f=l.width(),c=l.height(),d=l.data(m);if(d&&(f!==d.w||c!==d.h)){l.trigger(u,[d.w=f,d.h=c]);r=t||true}}else{d=l.data(m);d.w=0;d.h=0}}if(a!==null){if(r&&(t==null||t-r<1e3)){a=e.requestAnimationFrame(h)}else{a=setTimeout(h,n[o]);r=false}}}if(!e.requestAnimationFrame){e.requestAnimationFrame=function(){return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t,i){return e.setTimeout(function(){t((new Date).getTime())},n[l])}}()}if(!e.cancelAnimationFrame){e.cancelAnimationFrame=function(){return e.webkitCancelRequestAnimationFrame||e.mozCancelRequestAnimationFrame||e.oCancelRequestAnimationFrame||e.msCancelRequestAnimationFrame||clearTimeout}()}})(jQuery,this);
(function ($) {
var options = { }; // no options
@@ -37,7 +37,7 @@ can just fix the size of their placeholders.
plot.setupGrid();
plot.draw();
}
function bindEvents(plot, eventHolder) {
plot.getPlaceholder().resize(onResize);
}
@@ -45,11 +45,11 @@ can just fix the size of their placeholders.
function shutdown(plot, eventHolder) {
plot.getPlaceholder().unbind("resize", onResize);
}
plot.hooks.bindEvents.push(bindEvents);
plot.hooks.shutdown.push(shutdown);
}
$.plot.plugins.push({
init: init,
options: options,

View File

@@ -29,22 +29,22 @@ minute, but rather 1 pixel. Note also that setting "minSize" to 0 will prevent
"plotunselected" events from being fired when the user clicks the mouse without
dragging.
When selection support is enabled, a "plotselected" event will be emitted on
the DOM element you passed into the plot function. The event handler gets a
When selection support is enabled, a "plotselected" Events will be emitted on
the DOM element you passed into the plot function. The Events handler gets a
parameter with the ranges selected on the axes, like this:
placeholder.bind( "plotselected", function( event, ranges ) {
placeholder.bind( "plotselected", function( Events, ranges ) {
alert("You selected " + ranges.xaxis.from + " to " + ranges.xaxis.to)
// similar for yaxis - with multiple axes, the extra ones are in
// x2axis, x3axis, ...
});
The "plotselected" event is only fired when the user has finished making the
selection. A "plotselecting" event is fired during the process with the same
parameters as the "plotselected" event, in case you want to know what's
The "plotselected" Events is only fired when the user has finished making the
selection. A "plotselecting" Events is fired during the process with the same
parameters as the "plotselected" Events, in case you want to know what's
happening while it's happening,
A "plotunselected" event with no arguments is emitted when the user clicks the
A "plotunselected" Events with no arguments is emitted when the user clicks the
mouse to remove the selection. As stated above, setting "minSize" to 0 will
destroy this behavior.
@@ -53,14 +53,14 @@ The plugin allso adds the following methods to the plot object:
- setSelection( ranges, preventEvent )
Set the selection rectangle. The passed in ranges is on the same form as
returned in the "plotselected" event. If the selection mode is "x", you
returned in the "plotselected" Events. If the selection mode is "x", you
should put in either an xaxis range, if the mode is "y" you need to put in
an yaxis range and both xaxis and yaxis if the selection mode is "xy", like
this:
setSelection({ xaxis: { from: 0, to: 10 }, yaxis: { from: 40, to: 60 } });
setSelection will trigger the "plotselected" event when called. If you don't
setSelection will trigger the "plotselected" Events when called. If you don't
want that to happen, e.g. if you're inside a "plotselected" handler, pass
true as the second parameter. If you are using multiple axes, you can
specify the ranges on any of those, e.g. as x2axis/x3axis/... instead of
@@ -69,12 +69,12 @@ The plugin allso adds the following methods to the plot object:
- clearSelection( preventEvent )
Clear the selection rectangle. Pass in true to avoid getting a
"plotunselected" event.
"plotunselected" Events.
- getSelection()
Returns the current selection in the same format as the "plotselected"
event. If there's currently no selection, the function returns null.
Events. If there's currently no selection, the function returns null.
*/
@@ -94,11 +94,11 @@ The plugin allso adds the following methods to the plot object:
var savedhandlers = {};
var mouseUpHandler = null;
function onMouseMove(e) {
if (selection.active) {
updateSelection(e);
plot.getPlaceholder().trigger("plotselecting", [ getSelection() ]);
}
}
@@ -106,7 +106,7 @@ The plugin allso adds the following methods to the plot object:
function onMouseDown(e) {
if (e.which != 1) // only accept left-click
return;
// cancel out any text selections
document.body.focus();
@@ -127,13 +127,13 @@ The plugin allso adds the following methods to the plot object:
// this is a bit silly, but we have to use a closure to be
// able to whack the same handler again
mouseUpHandler = function (e) { onMouseUp(e); };
$(document).one("mouseup", mouseUpHandler);
}
function onMouseUp(e) {
mouseUpHandler = null;
// revert drag stuff for old-school browsers
if (document.onselectstart !== undefined)
document.onselectstart = savedhandlers.onselectstart;
@@ -158,13 +158,13 @@ The plugin allso adds the following methods to the plot object:
function getSelection() {
if (!selectionIsSane())
return null;
if (!selection.show) return null;
var r = {}, c1 = selection.first, c2 = selection.second;
$.each(plot.getAxes(), function (name, axis) {
if (axis.used) {
var p1 = axis.c2p(c1[axis.direction]), p2 = axis.c2p(c2[axis.direction]);
var p1 = axis.c2p(c1[axis.direction]), p2 = axis.c2p(c2[axis.direction]);
r[name] = { from: Math.min(p1, p2), to: Math.max(p1, p2) };
}
});
@@ -252,10 +252,10 @@ The plugin allso adds the following methods to the plot object:
from = to;
to = tmp;
}
return { from: from, to: to, axis: axis };
}
function setSelection(ranges, preventEvent) {
var axis, range, o = plot.getOptions();
@@ -333,11 +333,11 @@ The plugin allso adds the following methods to the plot object:
ctx.restore();
}
});
plot.hooks.shutdown.push(function (plot, eventHolder) {
eventHolder.unbind("mousemove", onMouseMove);
eventHolder.unbind("mousedown", onMouseDown);
if (mouseUpHandler)
$(document).unbind("mouseup", mouseUpHandler);
});

View File

@@ -76,7 +76,7 @@ var
return ( letter + "" ).toUpperCase();
},
// The ready event handler and self cleanup method
// The ready Events handler and self cleanup method
DOMContentLoaded = function() {
if ( document.addEventListener ) {
document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false );
@@ -369,10 +369,10 @@ jQuery.extend({
isReady: false,
// A counter to track how many items to wait for before
// the ready event fires. See #6781
// the ready Events fires. See #6781
readyWait: 1,
// Hold (or release) the ready event
// Hold (or release) the ready Events
holdReady: function( hold ) {
if ( hold ) {
jQuery.readyWait++;
@@ -397,7 +397,7 @@ jQuery.extend({
// Remember that the DOM is ready
jQuery.isReady = true;
// If a normal DOM Ready event fired, decrement, and wait if need be
// If a normal DOM Ready Events fired, decrement, and wait if need be
if ( wait !== true && --jQuery.readyWait > 0 ) {
return;
}
@@ -844,7 +844,7 @@ jQuery.ready.promise = function( obj ) {
readyList = jQuery.Deferred();
// Catch cases where $(document).ready() is called after the browser event has already occurred.
// Catch cases where $(document).ready() is called after the browser Events has already occurred.
// we once tried to use readyState "interactive" here, but it caused issues like the one
// discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
if ( document.readyState === "complete" ) {
@@ -853,13 +853,13 @@ jQuery.ready.promise = function( obj ) {
// Standards-based browsers support DOMContentLoaded
} else if ( document.addEventListener ) {
// Use the handy event callback
// Use the handy Events callback
document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false );
// A fallback to window.onload, that will always work
window.addEventListener( "load", jQuery.ready, false );
// If IE event model is used
// If IE Events model is used
} else {
// Ensure firing before onload, maybe late but safe also for iframes
document.attachEvent( "onreadystatechange", DOMContentLoaded );
@@ -922,7 +922,7 @@ function createOptions( options ) {
* options: an optional list of space-separated options that will change how
* the callback list behaves or a more traditional option object
*
* By default a callback list will act like an event callback list and can be
* By default a callback list will act like an Events callback list and can be
* "fired" multiple times.
*
* Possible options:
@@ -1356,7 +1356,7 @@ jQuery.support = (function() {
if ( !div.addEventListener && div.attachEvent && div.fireEvent ) {
div.attachEvent( "onclick", clickFn = function() {
// Cloning a node shouldn't copy over any
// bound event handlers (IE does this)
// bound Events handlers (IE does this)
support.noCloneEvent = false;
});
div.cloneNode( true ).fireEvent("onclick");
@@ -1391,7 +1391,7 @@ jQuery.support = (function() {
// Technique from Juriy Zaytsev
// http://perfectionkills.com/detecting-event-support-without-browser-sniffing/
// We only care about the case where non-standard event systems
// We only care about the case where non-standard Events systems
// are used, namely in IE. Short-circuiting here helps us to
// avoid an eval call (in setAttribute) which can cause CSP
// to go haywire. See: https://developer.mozilla.org/en/Security/CSP
@@ -2662,7 +2662,7 @@ jQuery.event = {
handler.guid = jQuery.guid++;
}
// Init the element's event structure and main handler, if this is the first
// Init the element's Events structure and main handler, if this is the first
events = elemData.events;
if ( !events ) {
elemData.events = events = {};
@@ -2670,8 +2670,8 @@ jQuery.event = {
eventHandle = elemData.handle;
if ( !eventHandle ) {
elemData.handle = eventHandle = function( e ) {
// Discard the second event of a jQuery.event.trigger() and
// when an event is called after a page has unloaded
// Discard the second Events of a jQuery.Events.trigger() and
// when an Events is called after a page has unloaded
return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ?
jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
undefined;
@@ -2689,16 +2689,16 @@ jQuery.event = {
type = tns[1];
namespaces = ( tns[2] || "" ).split( "." ).sort();
// If event changes its type, use the special event handlers for the changed type
// If Events changes its type, use the special Events handlers for the changed type
special = jQuery.event.special[ type ] || {};
// If selector defined, determine special event api type, otherwise given type
// If selector defined, determine special Events api type, otherwise given type
type = ( selector ? special.delegateType : special.bindType ) || type;
// Update special based on newly reset type
special = jQuery.event.special[ type ] || {};
// handleObj is passed to all event handlers
// handleObj is passed to all Events handlers
handleObj = jQuery.extend({
type: type,
origType: tns[1],
@@ -2710,7 +2710,7 @@ jQuery.event = {
namespace: namespaces.join(".")
}, handleObjIn );
// Init the event handler queue if we're the first
// Init the Events handler queue if we're the first
handlers = events[ type ];
if ( !handlers ) {
handlers = events[ type ] = [];
@@ -2718,7 +2718,7 @@ jQuery.event = {
// Only use addEventListener/attachEvent if the special events handler returns false
if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
// Bind the global event handler to the element
// Bind the global Events handler to the element
if ( elem.addEventListener ) {
elem.addEventListener( type, eventHandle, false );
@@ -2743,7 +2743,7 @@ jQuery.event = {
handlers.push( handleObj );
}
// Keep track of which events have ever been used, for event optimization
// Keep track of which events have ever been used, for Events optimization
jQuery.event.global[ type ] = true;
}
@@ -2753,7 +2753,7 @@ jQuery.event = {
global: {},
// Detach an event or set of events from an element
// Detach an Events or set of events from an element
remove: function( elem, types, handler, selector, mappedTypes ) {
var t, tns, type, origType, namespaces, origCount,
@@ -2804,8 +2804,8 @@ jQuery.event = {
}
}
// Remove generic event handler if we removed something and no more handlers exist
// (avoids potential for endless recursion during removal of special event handlers)
// Remove generic Events handler if we removed something and no more handlers exist
// (avoids potential for endless recursion during removal of special Events handlers)
if ( eventType.length === 0 && origCount !== eventType.length ) {
if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {
jQuery.removeEvent( elem, type, elemData.handle );
@@ -2839,7 +2839,7 @@ jQuery.event = {
return;
}
// Event object or event type
// Event object or Events type
var cache, exclusive, i, cur, old, ontype, special, handle, eventPath, bubbleType,
type = event.type || event,
namespaces = [];
@@ -2850,30 +2850,30 @@ jQuery.event = {
}
if ( type.indexOf( "!" ) >= 0 ) {
// Exclusive events trigger only for the exact event (no namespaces)
// Exclusive events trigger only for the exact Events (no namespaces)
type = type.slice(0, -1);
exclusive = true;
}
if ( type.indexOf( "." ) >= 0 ) {
// Namespaced trigger; create a regexp to match event type in handle()
// Namespaced trigger; create a regexp to match Events type in handle()
namespaces = type.split(".");
type = namespaces.shift();
namespaces.sort();
}
if ( (!elem || jQuery.event.customEvent[ type ]) && !jQuery.event.global[ type ] ) {
// No jQuery handlers for this event type, and it can't have inline handlers
// No jQuery handlers for this Events type, and it can't have inline handlers
return;
}
// Caller can pass in an Event, Object, or just an event type string
// Caller can pass in an Event, Object, or just an Events type string
event = typeof event === "object" ?
// jQuery.Event object
event[ jQuery.expando ] ? event :
// Object literal
new jQuery.Event( type, event ) :
// Just the event type (string)
// Just the Events type (string)
new jQuery.Event( type );
event.type = type;
@@ -2896,13 +2896,13 @@ jQuery.event = {
return;
}
// Clean up the event in case it is being reused
// Clean up the Events in case it is being reused
event.result = undefined;
if ( !event.target ) {
event.target = elem;
}
// Clone any incoming data and prepend the event, creating the handler arg list
// Clone any incoming data and prepend the Events, creating the handler arg list
data = data != null ? jQuery.makeArray( data ) : [];
data.unshift( event );
@@ -2912,7 +2912,7 @@ jQuery.event = {
return;
}
// Determine event propagation path in advance, per W3C events spec (#9951)
// Determine Events propagation path in advance, per W3C events spec (#9951)
// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
eventPath = [[ elem, special.bindType || type ]];
if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {
@@ -2930,7 +2930,7 @@ jQuery.event = {
}
}
// Fire handlers on the event path
// Fire handlers on the Events path
for ( i = 0; i < eventPath.length && !event.isPropagationStopped(); i++ ) {
cur = eventPath[i][0];
@@ -2954,20 +2954,20 @@ jQuery.event = {
if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) &&
!(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) {
// Call a native DOM method on the target with the same name name as the event.
// Call a native DOM method on the target with the same name name as the Events.
// Can't use an .isFunction() check here because IE6/7 fails that test.
// Don't do default actions on window, that's where global variables be (#6170)
// IE<9 dies on focus/blur to hidden element (#1486)
if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) {
// Don't re-trigger an onFOO event when we call its FOO() method
// Don't re-trigger an onFOO Events when we call its FOO() method
old = elem[ ontype ];
if ( old ) {
elem[ ontype ] = null;
}
// Prevent re-triggering of the same event, since we already bubbled it above
// Prevent re-triggering of the same Events, since we already bubbled it above
jQuery.event.triggered = type;
elem[ type ]();
jQuery.event.triggered = undefined;
@@ -2984,7 +2984,7 @@ jQuery.event = {
dispatch: function( event ) {
// Make a writable jQuery.Event from the native event object
// Make a writable jQuery.Event from the native Events object
event = jQuery.event.fix( event || window.event );
var i, j, cur, ret, selMatch, matched, matches, handleObj, sel, related,
@@ -2995,7 +2995,7 @@ jQuery.event = {
special = jQuery.event.special[ event.type ] || {},
handlerQueue = [];
// Use the fix-ed jQuery.Event rather than the (read-only) native event
// Use the fix-ed jQuery.Event rather than the (read-only) native Events
args[0] = event;
event.delegateTarget = this;
@@ -3047,8 +3047,8 @@ jQuery.event = {
for ( j = 0; j < matched.matches.length && !event.isImmediatePropagationStopped(); j++ ) {
handleObj = matched.matches[ j ];
// Triggered event must either 1) be non-exclusive and have no namespace, or
// 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).
// Triggered Events must either 1) be non-exclusive and have no namespace, or
// 2) have namespace(s) a subset or equal to those in the bound Events (both can have no namespace).
if ( run_all || (!event.namespace && !handleObj.namespace) || event.namespace_re && event.namespace_re.test( handleObj.namespace ) ) {
event.data = handleObj.data;
@@ -3076,7 +3076,7 @@ jQuery.event = {
return event.result;
},
// Includes some event props shared by KeyEvent and MouseEvent
// Includes some Events props shared by KeyEvent and MouseEvent
// *** attrChange attrName relatedNode srcElement are not normalized, non-W3C, deprecated, will be removed in 1.8 ***
props: "attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
@@ -3132,7 +3132,7 @@ jQuery.event = {
return event;
}
// Create a writable copy of the event object and normalize some properties
// Create a writable copy of the Events object and normalize some properties
var i, prop,
originalEvent = event,
fixHook = jQuery.event.fixHooks[ event.type ] || {},
@@ -3191,9 +3191,9 @@ jQuery.event = {
},
simulate: function( type, elem, event, bubble ) {
// Piggyback on a donor event to simulate a different one.
// Piggyback on a donor Events to simulate a different one.
// Fake originalEvent to avoid donor's stopPropagation, but if the
// simulated event prevents default then we do the same on the donor.
// simulated Events prevents default then we do the same on the donor.
var e = jQuery.extend(
new jQuery.Event(),
event,
@@ -3214,7 +3214,7 @@ jQuery.event = {
};
// Some plugins are using, but it's undocumented/deprecated and will be removed.
// The 1.7 special event interface should provide all the hooks needed now.
// The 1.7 special Events interface should provide all the hooks needed now.
jQuery.event.handle = jQuery.event.dispatch;
jQuery.removeEvent = document.removeEventListener ?
@@ -3229,7 +3229,7 @@ jQuery.removeEvent = document.removeEventListener ?
if ( elem.detachEvent ) {
// #8545, #7054, preventing memory leaks for custom events in IE6-8
// detachEvent needed property on element, by name of that event, to properly expose it to GC
// detachEvent needed property on element, by name of that Events, to properly expose it to GC
if ( typeof elem[ name ] === "undefined" ) {
elem[ name ] = null;
}
@@ -3259,12 +3259,12 @@ jQuery.Event = function( src, props ) {
this.type = src;
}
// Put explicitly provided properties onto the event object
// Put explicitly provided properties onto the Events object
if ( props ) {
jQuery.extend( this, props );
}
// Create a timestamp if incoming event doesn't have one
// Create a timestamp if incoming Events doesn't have one
this.timeStamp = src && src.timeStamp || jQuery.now();
// Mark it as fixed
@@ -3289,11 +3289,11 @@ jQuery.Event.prototype = {
return;
}
// if preventDefault exists run it on the original event
// if preventDefault exists run it on the original Events
if ( e.preventDefault ) {
e.preventDefault();
// otherwise set the returnValue property of the original event to false (IE)
// otherwise set the returnValue property of the original Events to false (IE)
} else {
e.returnValue = false;
}
@@ -3305,11 +3305,11 @@ jQuery.Event.prototype = {
if ( !e ) {
return;
}
// if stopPropagation exists run it on the original event
// if stopPropagation exists run it on the original Events
if ( e.stopPropagation ) {
e.stopPropagation();
}
// otherwise set the cancelBubble property of the original event to true (IE)
// otherwise set the cancelBubble property of the original Events to true (IE)
e.cancelBubble = true;
},
stopImmediatePropagation: function() {
@@ -3321,7 +3321,7 @@ jQuery.Event.prototype = {
isImmediatePropagationStopped: returnFalse
};
// Create mouseenter/leave events using mouseover/out and event-time checks
// Create mouseenter/leave events using mouseover/out and Events-time checks
jQuery.each({
mouseenter: "mouseover",
mouseleave: "mouseout"
@@ -3371,11 +3371,11 @@ if ( !jQuery.support.submitBubbles ) {
jQuery._data( form, "_submit_attached", true );
}
});
// return undefined since we don't need an event listener
// return undefined since we don't need an Events listener
},
postDispatch: function( event ) {
// If form was submitted by the user, bubble the event up the tree
// If form was submitted by the user, bubble the Events up the tree
if ( event._submit_bubble ) {
delete event._submit_bubble;
if ( this.parentNode && !event.isTrigger ) {
@@ -3423,7 +3423,7 @@ if ( !jQuery.support.changeBubbles ) {
}
return false;
}
// Delegated event; lazy-add a change handler on descendant inputs
// Delegated Events; lazy-add a change handler on descendant inputs
jQuery.event.add( this, "beforeactivate._change", function( e ) {
var elem = e.target;
@@ -3524,7 +3524,7 @@ jQuery.fn.extend({
if ( one === 1 ) {
origFn = fn;
fn = function( event ) {
// Can use an empty set, since event contains the info
// Can use an empty set, since Events contains the info
jQuery().off( event );
return origFn.apply( this, arguments );
};
@@ -3541,7 +3541,7 @@ jQuery.fn.extend({
off: function( types, selector, fn ) {
var handleObj, type;
if ( types && types.preventDefault && types.handleObj ) {
// ( event ) dispatched jQuery.Event
// ( Events ) dispatched jQuery.Event
handleObj = types.handleObj;
jQuery( types.delegateTarget ).off(
handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
@@ -3640,7 +3640,7 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl
"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
"change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) {
// Handle event binding
// Handle Events binding
jQuery.fn[ name ] = function( data, fn ) {
if ( fn == null ) {
fn = data;
@@ -6440,14 +6440,14 @@ jQuery.extend({
if ( special[ type ] ) {
jQuery.event.remove( elem, type );
// This is a shortcut to avoid jQuery.event.remove's overhead
// This is a shortcut to avoid jQuery.Events.remove's overhead
} else {
jQuery.removeEvent( elem, type, data.handle );
}
}
}
// Remove cache only if it was not already removed by jQuery.event.remove
// Remove cache only if it was not already removed by jQuery.Events.remove
if ( cache[ id ] ) {
delete cache[ id ];
@@ -7970,7 +7970,7 @@ jQuery.extend({
done( -1, "No Transport" );
} else {
jqXHR.readyState = 1;
// Send global event
// Send global Events
if ( fireGlobals ) {
globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
}

View File

@@ -486,7 +486,7 @@ var GMaps = (function(global) {
});
};
//google.maps.event.addListener(this.map, 'idle', this.hideContextMenu);
//google.maps.Events.addListener(this.map, 'idle', this.hideContextMenu);
google.maps.event.addListener(this.map, 'zoom_changed', this.hideContextMenu);
for (var ev = 0; ev < events_that_hide_context_menu.length; ev++) {
@@ -516,7 +516,7 @@ var GMaps = (function(global) {
});
/**
* Trigger a `resize` event, useful if you need to repaint the current map (for changes in the viewport or display / hide actions).
* Trigger a `resize` Events, useful if you need to repaint the current map (for changes in the viewport or display / hide actions).
*/
this.refresh = function() {
google.maps.event.trigger(this.map, 'resize');

View File

@@ -77,7 +77,7 @@ GMaps.prototype.addLayer = function(layerName, options) {
layer.setTag(options.filter);
delete options.filter;
//click event
//click Events
if (options.click) {
google.maps.event.addListener(layer, 'click', function(event) {
options.click(event);

View File

@@ -89,7 +89,7 @@
// create tooltip DOM element
var $tip = that.getDomElement();
// bind event
// bind Events
$( plot.getPlaceholder() ).bind("plothover", plothover);
if (that.tooltipOptions.clickTips) {
$( plot.getPlaceholder() ).bind("plotclick", plotclick);

View File

@@ -3067,7 +3067,7 @@ function createOptions( options ) {
* options: an optional list of space-separated options that will change how
* the callback list behaves or a more traditional option object
*
* By default a callback list will act like an event callback list and can be
* By default a callback list will act like an Events callback list and can be
* "fired" multiple times.
*
* Possible options:
@@ -3406,10 +3406,10 @@ jQuery.extend({
isReady: false,
// A counter to track how many items to wait for before
// the ready event fires. See #6781
// the ready Events fires. See #6781
readyWait: 1,
// Hold (or release) the ready event
// Hold (or release) the ready Events
holdReady: function( hold ) {
if ( hold ) {
jQuery.readyWait++;
@@ -3434,7 +3434,7 @@ jQuery.extend({
// Remember that the DOM is ready
jQuery.isReady = true;
// If a normal DOM Ready event fired, decrement, and wait if need be
// If a normal DOM Ready Events fired, decrement, and wait if need be
if ( wait !== true && --jQuery.readyWait > 0 ) {
return;
}
@@ -3465,7 +3465,7 @@ function detach() {
}
/**
* The ready event handler and self cleanup method
* The ready Events handler and self cleanup method
*/
function completed() {
// readyState === "complete" is good enough for us to call the dom ready in oldIE
@@ -3480,7 +3480,7 @@ jQuery.ready.promise = function( obj ) {
readyList = jQuery.Deferred();
// Catch cases where $(document).ready() is called after the browser event has already occurred.
// Catch cases where $(document).ready() is called after the browser Events has already occurred.
// we once tried to use readyState "interactive" here, but it caused issues like the one
// discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
if ( document.readyState === "complete" ) {
@@ -3489,13 +3489,13 @@ jQuery.ready.promise = function( obj ) {
// Standards-based browsers support DOMContentLoaded
} else if ( document.addEventListener ) {
// Use the handy event callback
// Use the handy Events callback
document.addEventListener( "DOMContentLoaded", completed, false );
// A fallback to window.onload, that will always work
window.addEventListener( "load", completed, false );
// If IE event model is used
// If IE Events model is used
} else {
// Ensure firing before onload, maybe late but safe also for iframes
document.attachEvent( "onreadystatechange", completed );
@@ -4230,7 +4230,7 @@ var rcheckableType = (/^(?:checkbox|radio)$/i);
var i, eventName,
div = document.createElement( "div" );
// Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event)
// Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin Events)
for ( i in { submit: true, change: true, focusin: true }) {
eventName = "on" + i;
@@ -4297,14 +4297,14 @@ jQuery.event = {
handler.guid = jQuery.guid++;
}
// Init the element's event structure and main handler, if this is the first
// Init the element's Events structure and main handler, if this is the first
if ( !(events = elemData.events) ) {
events = elemData.events = {};
}
if ( !(eventHandle = elemData.handle) ) {
eventHandle = elemData.handle = function( e ) {
// Discard the second event of a jQuery.event.trigger() and
// when an event is called after a page has unloaded
// Discard the second Events of a jQuery.Events.trigger() and
// when an Events is called after a page has unloaded
return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ?
jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
undefined;
@@ -4326,16 +4326,16 @@ jQuery.event = {
continue;
}
// If event changes its type, use the special event handlers for the changed type
// If Events changes its type, use the special Events handlers for the changed type
special = jQuery.event.special[ type ] || {};
// If selector defined, determine special event api type, otherwise given type
// If selector defined, determine special Events api type, otherwise given type
type = ( selector ? special.delegateType : special.bindType ) || type;
// Update special based on newly reset type
special = jQuery.event.special[ type ] || {};
// handleObj is passed to all event handlers
// handleObj is passed to all Events handlers
handleObj = jQuery.extend({
type: type,
origType: origType,
@@ -4347,14 +4347,14 @@ jQuery.event = {
namespace: namespaces.join(".")
}, handleObjIn );
// Init the event handler queue if we're the first
// Init the Events handler queue if we're the first
if ( !(handlers = events[ type ]) ) {
handlers = events[ type ] = [];
handlers.delegateCount = 0;
// Only use addEventListener/attachEvent if the special events handler returns false
if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
// Bind the global event handler to the element
// Bind the global Events handler to the element
if ( elem.addEventListener ) {
elem.addEventListener( type, eventHandle, false );
@@ -4379,7 +4379,7 @@ jQuery.event = {
handlers.push( handleObj );
}
// Keep track of which events have ever been used, for event optimization
// Keep track of which events have ever been used, for Events optimization
jQuery.event.global[ type ] = true;
}
@@ -4387,7 +4387,7 @@ jQuery.event = {
elem = null;
},
// Detach an event or set of events from an element
// Detach an Events or set of events from an element
remove: function( elem, types, handler, selector, mappedTypes ) {
var j, handleObj, tmp,
origCount, t, events,
@@ -4440,8 +4440,8 @@ jQuery.event = {
}
}
// Remove generic event handler if we removed something and no more handlers exist
// (avoids potential for endless recursion during removal of special event handlers)
// Remove generic Events handler if we removed something and no more handlers exist
// (avoids potential for endless recursion during removal of special Events handlers)
if ( origCount && !handlers.length ) {
if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {
jQuery.removeEvent( elem, type, elemData.handle );
@@ -4481,14 +4481,14 @@ jQuery.event = {
}
if ( type.indexOf(".") >= 0 ) {
// Namespaced trigger; create a regexp to match event type in handle()
// Namespaced trigger; create a regexp to match Events type in handle()
namespaces = type.split(".");
type = namespaces.shift();
namespaces.sort();
}
ontype = type.indexOf(":") < 0 && "on" + type;
// Caller can pass in a jQuery.Event object, Object, or just an event type string
// Caller can pass in a jQuery.Event object, Object, or just an Events type string
event = event[ jQuery.expando ] ?
event :
new jQuery.Event( type, typeof event === "object" && event );
@@ -4500,13 +4500,13 @@ jQuery.event = {
new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) :
null;
// Clean up the event in case it is being reused
// Clean up the Events in case it is being reused
event.result = undefined;
if ( !event.target ) {
event.target = elem;
}
// Clone any incoming data and prepend the event, creating the handler arg list
// Clone any incoming data and prepend the Events, creating the handler arg list
data = data == null ?
[ event ] :
jQuery.makeArray( data, [ event ] );
@@ -4517,7 +4517,7 @@ jQuery.event = {
return;
}
// Determine event propagation path in advance, per W3C events spec (#9951)
// Determine Events propagation path in advance, per W3C events spec (#9951)
// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {
@@ -4536,7 +4536,7 @@ jQuery.event = {
}
}
// Fire handlers on the event path
// Fire handlers on the Events path
i = 0;
while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) {
@@ -4567,19 +4567,19 @@ jQuery.event = {
if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) &&
jQuery.acceptData( elem ) ) {
// Call a native DOM method on the target with the same name name as the event.
// Call a native DOM method on the target with the same name name as the Events.
// Can't use an .isFunction() check here because IE6/7 fails that test.
// Don't do default actions on window, that's where global variables be (#6170)
if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) {
// Don't re-trigger an onFOO event when we call its FOO() method
// Don't re-trigger an onFOO Events when we call its FOO() method
tmp = elem[ ontype ];
if ( tmp ) {
elem[ ontype ] = null;
}
// Prevent re-triggering of the same event, since we already bubbled it above
// Prevent re-triggering of the same Events, since we already bubbled it above
jQuery.event.triggered = type;
try {
elem[ type ]();
@@ -4601,7 +4601,7 @@ jQuery.event = {
dispatch: function( event ) {
// Make a writable jQuery.Event from the native event object
// Make a writable jQuery.Event from the native Events object
event = jQuery.event.fix( event );
var i, ret, handleObj, matched, j,
@@ -4610,7 +4610,7 @@ jQuery.event = {
handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [],
special = jQuery.event.special[ event.type ] || {};
// Use the fix-ed jQuery.Event rather than the (read-only) native event
// Use the fix-ed jQuery.Event rather than the (read-only) native Events
args[0] = event;
event.delegateTarget = this;
@@ -4630,8 +4630,8 @@ jQuery.event = {
j = 0;
while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) {
// Triggered event must either 1) have no namespace, or
// 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).
// Triggered Events must either 1) have no namespace, or
// 2) have namespace(s) a subset or equal to those in the bound Events (both can have no namespace).
if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) {
event.handleObj = handleObj;
@@ -4712,7 +4712,7 @@ jQuery.event = {
return event;
}
// Create a writable copy of the event object and normalize some properties
// Create a writable copy of the Events object and normalize some properties
var i, prop, copy,
type = event.type,
originalEvent = event,
@@ -4753,7 +4753,7 @@ jQuery.event = {
return fixHook.filter ? fixHook.filter( event, originalEvent ) : event;
},
// Includes some event props shared by KeyEvent and MouseEvent
// Includes some Events props shared by KeyEvent and MouseEvent
props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
fixHooks: {},
@@ -4809,7 +4809,7 @@ jQuery.event = {
noBubble: true
},
focus: {
// Fire native event if possible so blur/focus sequence is correct
// Fire native Events if possible so blur/focus sequence is correct
trigger: function() {
if ( this !== safeActiveElement() && this.focus ) {
try {
@@ -4834,7 +4834,7 @@ jQuery.event = {
delegateType: "focusout"
},
click: {
// For checkbox, fire native event so checked state will be right
// For checkbox, fire native Events so checked state will be right
trigger: function() {
if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) {
this.click();
@@ -4861,9 +4861,9 @@ jQuery.event = {
},
simulate: function( type, elem, event, bubble ) {
// Piggyback on a donor event to simulate a different one.
// Piggyback on a donor Events to simulate a different one.
// Fake originalEvent to avoid donor's stopPropagation, but if the
// simulated event prevents default then we do the same on the donor.
// simulated Events prevents default then we do the same on the donor.
var e = jQuery.extend(
new jQuery.Event(),
event,
@@ -4896,7 +4896,7 @@ jQuery.removeEvent = document.removeEventListener ?
if ( elem.detachEvent ) {
// #8545, #7054, preventing memory leaks for custom events in IE6-8
// detachEvent needed property on element, by name of that event, to properly expose it to GC
// detachEvent needed property on element, by name of that Events, to properly expose it to GC
if ( typeof elem[ name ] === strundefined ) {
elem[ name ] = null;
}
@@ -4930,12 +4930,12 @@ jQuery.Event = function( src, props ) {
this.type = src;
}
// Put explicitly provided properties onto the event object
// Put explicitly provided properties onto the Events object
if ( props ) {
jQuery.extend( this, props );
}
// Create a timestamp if incoming event doesn't have one
// Create a timestamp if incoming Events doesn't have one
this.timeStamp = src && src.timeStamp || jQuery.now();
// Mark it as fixed
@@ -4957,12 +4957,12 @@ jQuery.Event.prototype = {
return;
}
// If preventDefault exists, run it on the original event
// If preventDefault exists, run it on the original Events
if ( e.preventDefault ) {
e.preventDefault();
// Support: IE
// Otherwise set the returnValue property of the original event to false
// Otherwise set the returnValue property of the original Events to false
} else {
e.returnValue = false;
}
@@ -4974,13 +4974,13 @@ jQuery.Event.prototype = {
if ( !e ) {
return;
}
// If stopPropagation exists, run it on the original event
// If stopPropagation exists, run it on the original Events
if ( e.stopPropagation ) {
e.stopPropagation();
}
// Support: IE
// Set the cancelBubble property of the original event to true
// Set the cancelBubble property of the original Events to true
e.cancelBubble = true;
},
stopImmediatePropagation: function() {
@@ -4996,7 +4996,7 @@ jQuery.Event.prototype = {
}
};
// Create mouseenter/leave events using mouseover/out and event-time checks
// Create mouseenter/leave events using mouseover/out and Events-time checks
jQuery.each({
mouseenter: "mouseover",
mouseleave: "mouseout",
@@ -5047,11 +5047,11 @@ if ( !support.submitBubbles ) {
jQuery._data( form, "submitBubbles", true );
}
});
// return undefined since we don't need an event listener
// return undefined since we don't need an Events listener
},
postDispatch: function( event ) {
// If form was submitted by the user, bubble the event up the tree
// If form was submitted by the user, bubble the Events up the tree
if ( event._submit_bubble ) {
delete event._submit_bubble;
if ( this.parentNode && !event.isTrigger ) {
@@ -5099,7 +5099,7 @@ if ( !support.changeBubbles ) {
}
return false;
}
// Delegated event; lazy-add a change handler on descendant inputs
// Delegated Events; lazy-add a change handler on descendant inputs
jQuery.event.add( this, "beforeactivate._change", function( e ) {
var elem = e.target;
@@ -5209,7 +5209,7 @@ jQuery.fn.extend({
if ( one === 1 ) {
origFn = fn;
fn = function( event ) {
// Can use an empty set, since event contains the info
// Can use an empty set, since Events contains the info
jQuery().off( event );
return origFn.apply( this, arguments );
};
@@ -5226,7 +5226,7 @@ jQuery.fn.extend({
off: function( types, selector, fn ) {
var handleObj, type;
if ( types && types.preventDefault && types.handleObj ) {
// ( event ) dispatched jQuery.Event
// ( Events ) dispatched jQuery.Event
handleObj = types.handleObj;
jQuery( types.delegateTarget ).off(
handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
@@ -5683,14 +5683,14 @@ jQuery.extend({
if ( special[ type ] ) {
jQuery.event.remove( elem, type );
// This is a shortcut to avoid jQuery.event.remove's overhead
// This is a shortcut to avoid jQuery.Events.remove's overhead
} else {
jQuery.removeEvent( elem, type, data.handle );
}
}
}
// Remove cache only if it was not already removed by jQuery.event.remove
// Remove cache only if it was not already removed by jQuery.Events.remove
if ( cache[ id ] ) {
delete cache[ id ];
@@ -8436,7 +8436,7 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl
"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
"change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) {
// Handle event binding
// Handle Events binding
jQuery.fn[ name ] = function( data, fn ) {
return arguments.length > 0 ?
this.on( name, null, data, fn ) :
@@ -9160,7 +9160,7 @@ jQuery.extend({
} else {
jqXHR.readyState = 1;
// Send global event
// Send global Events
if ( fireGlobals ) {
globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
}

View File

@@ -148,13 +148,13 @@ function () {
if (_this.axis.y.isOverflowing || _this.axis.y.forceVisible) {
isWithinBoundsY = _this.isWithinBounds(_this.axis.y.scrollbar.rect);
} // If any pointer event is called on the scrollbar
} // If any pointer Events is called on the scrollbar
if (isWithinBoundsY || isWithinBoundsX) {
// Preventing the event's default action stops text being
// Preventing the Events's default action stops text being
// selectable during the drag.
e.preventDefault(); // Prevent event leaking
e.preventDefault(); // Prevent Events leaking
e.stopPropagation();
@@ -641,7 +641,7 @@ function () {
}
}
/**
* On scroll event handling
* On scroll Events handling
*/
;

View File

@@ -11,7 +11,7 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
/**
* Echo exposes an expressive API for subscribing to channels and listening
* for events that are broadcast by Laravel. Echo and event broadcasting
* for events that are broadcast by Laravel. Echo and Events broadcasting
* allows your team to easily build robust real-time web applications.
*/