Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/javascript/frameworks/prototype/prototype-1.7.0.js')
-rw-r--r--tests/javascript/frameworks/prototype/prototype-1.7.0.js50
1 files changed, 0 insertions, 50 deletions
diff --git a/tests/javascript/frameworks/prototype/prototype-1.7.0.js b/tests/javascript/frameworks/prototype/prototype-1.7.0.js
index 474b2231bb..e137917b8d 100644
--- a/tests/javascript/frameworks/prototype/prototype-1.7.0.js
+++ b/tests/javascript/frameworks/prototype/prototype-1.7.0.js
@@ -60,10 +60,8 @@ var Prototype = {
if (Prototype.Browser.MobileSafari)
Prototype.BrowserFeatures.SpecificElementExtensions = false;
-
var Abstract = { };
-
var Try = {
these: function() {
var returnValue;
@@ -451,11 +449,8 @@ Object.extend(Function.prototype, (function() {
}
})());
-
-
(function(proto) {
-
function toISOString() {
return this.getUTCFullYear() + '-' +
(this.getUTCMonth() + 1).toPaddedString(2) + '-' +
@@ -465,7 +460,6 @@ Object.extend(Function.prototype, (function() {
this.getUTCSeconds().toPaddedString(2) + 'Z';
}
-
function toJSON() {
return this.toISOString();
}
@@ -475,7 +469,6 @@ Object.extend(Function.prototype, (function() {
})(Date.prototype);
-
RegExp.prototype.match = RegExp.prototype.test;
RegExp.escape = function(str) {
@@ -620,7 +613,6 @@ Object.extend(String.prototype, (function() {
return this.stripTags().replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&amp;/g,'&');
}
-
function toQueryParams(separator) {
var match = this.strip().match(/([^?#]*)(#.*)?$/);
if (!match) return { };
@@ -1021,14 +1013,6 @@ var Enumerable = (function() {
return '#<Enumerable:' + this.toArray().inspect() + '>';
}
-
-
-
-
-
-
-
-
return {
each: each,
eachSlice: eachSlice,
@@ -1071,7 +1055,6 @@ function $A(iterable) {
return results;
}
-
function $w(string) {
if (!Object.isString(string)) return [];
string = string.strip();
@@ -1080,7 +1063,6 @@ function $w(string) {
Array.from = $A;
-
(function() {
var arrayProto = Array.prototype,
slice = arrayProto.slice,
@@ -1146,7 +1128,6 @@ Array.from = $A;
});
}
-
function clone() {
return slice.call(this, 0);
}
@@ -1228,7 +1209,6 @@ var Hash = Class.create(Enumerable, (function() {
this._object = Object.isHash(object) ? object.toObject() : Object.clone(object);
}
-
function _each(iterator) {
for (var key in this._object) {
var value = this._object[key], pair = [key, value];
@@ -1257,8 +1237,6 @@ var Hash = Class.create(Enumerable, (function() {
return Object.clone(this._object);
}
-
-
function keys() {
return this.pluck('key');
}
@@ -1420,8 +1398,6 @@ var ObjectRange = Class.create(Enumerable, (function() {
};
})());
-
-
var Ajax = {
getTransport: function() {
return Try.these(
@@ -1655,13 +1631,6 @@ Ajax.Request = Class.create(Ajax.Base, {
Ajax.Request.Events =
['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];
-
-
-
-
-
-
-
Ajax.Response = Class.create({
initialize: function(request){
this.request = request;
@@ -1814,7 +1783,6 @@ Ajax.PeriodicalUpdater = Class.create(Ajax.Base, {
}
});
-
function $(element) {
if (arguments.length > 1) {
for (var i = 0, elements = [], length = arguments.length; i < length; i++)
@@ -1858,8 +1826,6 @@ if (!Node.ELEMENT_NODE) {
});
}
-
-
(function(global) {
function shouldUseCache(tagName, attributes) {
if (tagName === 'select') return false;
@@ -2000,7 +1966,6 @@ Element.Methods = {
return isBuggy;
})();
-
function update(element, content) {
element = $(element);
var purgeElement = Element._purgeElement;
@@ -2230,7 +2195,6 @@ Element.Methods = {
}
},
-
select: function(element) {
element = $(element);
var expressions = Array.prototype.slice.call(arguments, 1).join(', ');
@@ -3057,7 +3021,6 @@ Element.addMethods = function(methods) {
Element.cache = { };
};
-
document.viewport = {
getDimensions: function() {
@@ -3098,7 +3061,6 @@ document.viewport = {
viewport.getHeight = define.curry('Height');
})(document.viewport);
-
Element.Storage = {
UID: 1
};
@@ -3709,7 +3671,6 @@ Element.addMethods({
return $(document.body);
}
-
function cumulativeOffset(element) {
element = $(element);
var valueT = 0, valueL = 0;
@@ -3873,7 +3834,6 @@ Element.addMethods({
};
}
-
Element.addMethods({
getLayout: getLayout,
measure: measure,
@@ -3951,7 +3911,6 @@ Prototype.Selector = (function() {
return elements;
}
-
var K = Prototype.K;
return {
@@ -4936,7 +4895,6 @@ var posProcess = function(selector, context){
return Sizzle.filter( later, tmpSet );
};
-
window.Sizzle = Sizzle;
})();
@@ -5090,7 +5048,6 @@ Form.Methods = {
/*--------------------------------------------------------------------------*/
-
Form.Element = {
focus: function(element) {
$(element).focus();
@@ -5246,7 +5203,6 @@ Form.Element.Serializers = (function() {
/*--------------------------------------------------------------------------*/
-
Abstract.TimedObserver = Class.create(PeriodicalExecuter, {
initialize: function($super, element, frequency, callback) {
$super(callback, frequency);
@@ -5353,8 +5309,6 @@ Form.EventObserver = Class.create(Abstract.EventObserver, {
var MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED = 'onmouseenter' in docEl
&& 'onmouseleave' in docEl;
-
-
var isIELegacyEvent = function(event) { return false; };
if (window.attachEvent) {
@@ -5461,7 +5415,6 @@ Form.EventObserver = Class.create(Abstract.EventObserver, {
(docElement.clientTop || 0));
}
-
function stop(event) {
Event.extend(event);
event.preventDefault();
@@ -5470,7 +5423,6 @@ Form.EventObserver = Class.create(Abstract.EventObserver, {
event.stopped = true;
}
-
Event.Methods = {
isLeftClick: isLeftClick,
isMiddleClick: isMiddleClick,
@@ -5620,7 +5572,6 @@ Form.EventObserver = Class.create(Abstract.EventObserver, {
if (Prototype.Browser.WebKit)
window.addEventListener('unload', Prototype.emptyFunction, false);
-
var _getDOMEventName = Prototype.K,
translations = { mouseenter: "mouseover", mouseleave: "mouseout" };
@@ -5927,7 +5878,6 @@ var Position = {
element.offsetWidth;
},
-
cumulativeOffset: Element.Methods.cumulativeOffset,
positionedOffset: Element.Methods.positionedOffset,