diff options
author | Christian Raue <christian.raue@gmail.com> | 2014-07-23 22:30:48 +0400 |
---|---|---|
committer | Christian Raue <christian.raue@gmail.com> | 2014-07-23 22:30:48 +0400 |
commit | 9e5cae9504c6552900c287ae9db53d82b7329332 (patch) | |
tree | faf4b53f894acb45d24c9f2c1b8698d52d730cfa /tests/javascript | |
parent | d9adcfe6169c6c10059a670f2ed984908eb4e105 (diff) |
reduced multiple empty lines to exactly one
Diffstat (limited to 'tests/javascript')
25 files changed, 2 insertions, 704 deletions
diff --git a/tests/javascript/assets/qunit.css b/tests/javascript/assets/qunit.css index 7ba3f9a30b..6229ea8323 100644 --- a/tests/javascript/assets/qunit.css +++ b/tests/javascript/assets/qunit.css @@ -17,7 +17,6 @@ #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; } #qunit-tests { font-size: smaller; } - /** Resets */ #qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter { @@ -25,7 +24,6 @@ padding: 0; } - /** Header */ #qunit-header { @@ -218,7 +216,6 @@ #qunit-banner.qunit-fail { background-color: #EE5757; } - /** Result */ #qunit-testresult { diff --git a/tests/javascript/assets/qunit.js b/tests/javascript/assets/qunit.js index 583167699b..bd7fa61f9b 100644 --- a/tests/javascript/assets/qunit.js +++ b/tests/javascript/assets/qunit.js @@ -155,7 +155,6 @@ Test.prototype = { /*jshint camelcase:false */ - /** * Expose the current test environment. * @@ -1106,7 +1105,6 @@ QUnit.load = function() { ( config.module === undefined ? "selected='selected'" : "" ) + ">< All Modules ></option>"; - for ( i = 0; i < numModules; i++) { moduleFilterHtml += "<option value='" + escapeText( encodeURIComponent(moduleNames[i]) ) + "' " + ( config.module === moduleNames[i] ? "selected='selected'" : "" ) + diff --git a/tests/javascript/frameworks/dojo/dojo-1.0.3.js b/tests/javascript/frameworks/dojo/dojo-1.0.3.js index 793be17a79..27762f7e9c 100644 --- a/tests/javascript/frameworks/dojo/dojo-1.0.3.js +++ b/tests/javascript/frameworks/dojo/dojo-1.0.3.js @@ -204,7 +204,6 @@ if(typeof dojo == "undefined"){ return !!d.getObject(name, false, obj); // Boolean } - dojo["eval"] = function(/*String*/ scriptFragment){ // summary: // Perform an evaluation in the global scope. Use this rather than @@ -317,7 +316,6 @@ if(typeof dojo == "undefined"){ _loadNotifying: false }); - dojo._loadPath = function(/*String*/relpath, /*String?*/module, /*Function?*/cb){ // summary: // Load a Javascript module given a relative path @@ -646,7 +644,6 @@ if(typeof dojo == "undefined"){ } } - dojo.requireIf = function(/*Boolean*/ condition, /*String*/ resourceName){ // summary: // If the condition is true then call dojo.require() for the specified @@ -740,7 +737,6 @@ if(typeof dojo == "undefined"){ d.i18n._requireLocalization.apply(d.hostenv, arguments); }; - var ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"); var ire = new RegExp("^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$"); @@ -886,7 +882,6 @@ if(typeof window != 'undefined'){ dojo.isBrowser = true; dojo._name = "browser"; - // attempt to figure out the path to dojo if it isn't set in the config (function(){ var d = dojo; @@ -1350,7 +1345,6 @@ dojo.delegate = function(obj, props){ } =====*/ - dojo.delegate = dojo._delegate = function(obj, props){ // boodman/crockford delegation @@ -1445,7 +1439,6 @@ if(!dojo._hasResource["dojo._base.declare"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.declare"] = true; dojo.provide("dojo._base.declare"); - // this file courtesy of the TurboAjax group, licensed under a Dojo CLA dojo.declare = function(/*String*/ className, /*Function|Function[]*/ superclass, /*Object*/ props){ @@ -1632,7 +1625,6 @@ if(!dojo._hasResource["dojo._base.connect"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.connect"] = true; dojo.provide("dojo._base.connect"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA // low-level delegation machinery @@ -1918,7 +1910,6 @@ if(!dojo._hasResource["dojo._base.Deferred"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.Deferred"] = true; dojo.provide("dojo._base.Deferred"); - dojo.Deferred = function(/*Function?*/ canceller){ // summary: // Encapsulates a sequence of callbacks in response to a value that @@ -2198,7 +2189,6 @@ dojo.extend(dojo.Deferred, { } }, - _resback: function(res){ // summary: // The private primitive that means either callback or errback @@ -2650,8 +2640,6 @@ if(!dojo._hasResource["dojo._base.Color"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.Color"] = true; dojo.provide("dojo._base.Color"); - - dojo.Color = function(/*Array|String|Object*/ color){ // summary: // takes a named string, hex string, array of rgb or rgba values, @@ -2679,7 +2667,6 @@ dojo.Color.named = { aqua: [0,255,255] }; - dojo.extend(dojo.Color, { r: 255, g: 255, b: 255, a: 1, _set: function(r, g, b, a){ @@ -2807,20 +2794,6 @@ if(!dojo._hasResource["dojo._base"]){ //_hasResource checks added by build. Do n dojo._hasResource["dojo._base"] = true; dojo.provide("dojo._base"); - - - - - - - - - - - - - - (function(){ if(djConfig.require){ for(var x=0; x<djConfig.require.length; x++){ @@ -2981,7 +2954,6 @@ if(!dojo._hasResource["dojo._base.event"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.event"] = true; dojo.provide("dojo._base.event"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA (function(){ @@ -4496,8 +4468,6 @@ if(!dojo._hasResource["dojo._base.NodeList"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.NodeList"] = true; dojo.provide("dojo._base.NodeList"); - - (function(){ var d = dojo; @@ -4964,7 +4934,6 @@ if(!dojo._hasResource["dojo._base.query"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.query"] = true; dojo.provide("dojo._base.query"); - /* dojo.query() architectural overview: @@ -5161,7 +5130,6 @@ dojo.provide("dojo._base.query"); return qparts; }; - //////////////////////////////////////////////////////////////////////// // XPath query code //////////////////////////////////////////////////////////////////////// @@ -6050,10 +6018,6 @@ if(!dojo._hasResource["dojo._base.xhr"]){ //_hasResource checks added by build. dojo._hasResource["dojo._base.xhr"] = true; dojo.provide("dojo._base.xhr"); - - - - (function(){ var _d = dojo; function setValue(/*Object*/obj, /*String*/name, /*String*/value){ @@ -6147,7 +6111,6 @@ dojo.provide("dojo._base.xhr"); // // | "blah=blah&multi=thud&multi=thonk" - // FIXME: need to implement encodeAscii!! var ec = encodeURIComponent; var ret = ""; @@ -6382,8 +6345,6 @@ dojo.provide("dojo._base.xhr"); } =====*/ - - dojo._ioSetArgs = function(/*dojo.__ioArgs*/args, /*Function*/canceller, /*Function*/okHandler, @@ -6746,11 +6707,6 @@ if(!dojo._hasResource["dojo._base.fx"]){ //_hasResource checks added by build. D dojo._hasResource["dojo._base.fx"] = true; dojo.provide("dojo._base.fx"); - - - - - /* Animation losely package based on Dan Pupius' work, contributed under CLA: http://pupius.co.uk/js/Toolkit.Drawing.js diff --git a/tests/javascript/frameworks/dojo/dojo-1.1.2.js b/tests/javascript/frameworks/dojo/dojo-1.1.2.js index a0749918f6..1b69918082 100644 --- a/tests/javascript/frameworks/dojo/dojo-1.1.2.js +++ b/tests/javascript/frameworks/dojo/dojo-1.1.2.js @@ -424,7 +424,6 @@ dojo.global = { return !!d.getObject(name, false, obj); // Boolean } - dojo["eval"] = function(/*String*/ scriptFragment){ // summary: // Perform an evaluation in the global scope. Use this rather than @@ -436,7 +435,6 @@ dojo.global = { // return: // The result of the evaluation. Often `undefined` - // note: // - JSC eval() takes an optional second argument which can be 'unsafe'. // - Mozilla/SpiderMonkey eval() takes an optional second argument which is the @@ -543,7 +541,6 @@ dojo.global = { _loadNotifying: false }); - dojo._loadPath = function(/*String*/relpath, /*String?*/module, /*Function?*/cb){ // summary: // Load a Javascript module given a relative path @@ -1017,7 +1014,6 @@ dojo.global = { d.i18n._requireLocalization.apply(d.hostenv, arguments); }; - var ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"); var ire = new RegExp("^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$"); @@ -1243,7 +1239,6 @@ if(typeof window != 'undefined'){ dojo.isBrowser = true; dojo._name = "browser"; - // attempt to figure out the path to dojo if it isn't set in the config (function(){ var d = dojo; @@ -1727,7 +1722,6 @@ dojo.delegate = function(obj, props){ } =====*/ - dojo.delegate = dojo._delegate = function(obj, props){ // boodman/crockford delegation @@ -1823,7 +1817,6 @@ if(!dojo._hasResource["dojo._base.declare"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.declare"] = true; dojo.provide("dojo._base.declare"); - // this file courtesy of the TurboAjax group, licensed under a Dojo CLA dojo.declare = function(/*String*/ className, /*Function|Function[]*/ superclass, /*Object*/ props){ @@ -2002,7 +1995,6 @@ if(!dojo._hasResource["dojo._base.connect"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.connect"] = true; dojo.provide("dojo._base.connect"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA // low-level delegation machinery @@ -2288,7 +2280,6 @@ if(!dojo._hasResource["dojo._base.Deferred"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.Deferred"] = true; dojo.provide("dojo._base.Deferred"); - dojo.Deferred = function(/*Function?*/ canceller){ // summary: // Encapsulates a sequence of callbacks in response to a value that @@ -2568,7 +2559,6 @@ dojo.extend(dojo.Deferred, { } }, - _resback: function(res){ // summary: // The private primitive that means either callback or errback @@ -3018,8 +3008,6 @@ if(!dojo._hasResource["dojo._base.Color"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.Color"] = true; dojo.provide("dojo._base.Color"); - - dojo.Color = function(/*Array|String|Object*/ color){ // summary: // takes a named string, hex string, array of rgb or rgba values, @@ -3047,7 +3035,6 @@ dojo.Color.named = { aqua: [0,255,255] }; - dojo.extend(dojo.Color, { r: 255, g: 255, b: 255, a: 1, _set: function(r, g, b, a){ @@ -3175,14 +3162,6 @@ if(!dojo._hasResource["dojo._base"]){ //_hasResource checks added by build. Do n dojo._hasResource["dojo._base"] = true; dojo.provide("dojo._base"); - - - - - - - - } if(!dojo._hasResource["dojo._base.window"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. @@ -3335,7 +3314,6 @@ if(!dojo._hasResource["dojo._base.event"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.event"] = true; dojo.provide("dojo._base.event"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA (function(){ @@ -5093,8 +5071,6 @@ if(!dojo._hasResource["dojo._base.NodeList"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.NodeList"] = true; dojo.provide("dojo._base.NodeList"); - - (function(){ var d = dojo; @@ -5626,7 +5602,6 @@ if(!dojo._hasResource["dojo._base.query"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.query"] = true; dojo.provide("dojo._base.query"); - /* dojo.query() architectural overview: @@ -5824,7 +5799,6 @@ dojo.provide("dojo._base.query"); return qparts; }; - //////////////////////////////////////////////////////////////////////// // XPath query code //////////////////////////////////////////////////////////////////////// @@ -6763,7 +6737,6 @@ dojo.provide("dojo._base.query"); // | }); // | }); - // NOTE: elementsById is not currently supported // NOTE: ignores xpath-ish queries for now @@ -6805,10 +6778,6 @@ if(!dojo._hasResource["dojo._base.xhr"]){ //_hasResource checks added by build. dojo._hasResource["dojo._base.xhr"] = true; dojo.provide("dojo._base.xhr"); - - - - (function(){ var _d = dojo; function setValue(/*Object*/obj, /*String*/name, /*String*/value){ @@ -7153,8 +7122,6 @@ dojo.provide("dojo._base.xhr"); } =====*/ - - dojo._ioSetArgs = function(/*dojo.__IoArgs*/args, /*Function*/canceller, /*Function*/okHandler, @@ -7536,11 +7503,6 @@ if(!dojo._hasResource["dojo._base.fx"]){ //_hasResource checks added by build. D dojo._hasResource["dojo._base.fx"] = true; dojo.provide("dojo._base.fx"); - - - - - /* Animation losely package based on Dan Pupius' work, contributed under CLA: http://pupius.co.uk/js/Toolkit.Drawing.js @@ -8121,14 +8083,6 @@ if(!dojo._hasResource["dojo._base.browser"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.browser"] = true; dojo.provide("dojo._base.browser"); - - - - - - - - //Need this to be the last code segment in base, so do not place any //dojo.requireIf calls in this file. Otherwise, due to how the build system //puts all requireIf dependencies after the current file, the require calls @@ -8139,7 +8093,6 @@ if(dojo.config.require){ } - if(dojo.config.afterOnLoad && dojo.isBrowser){ //Dojo is being added to the page after page load, so just trigger //the init sequence after a timeout. Using a timeout so the rest of this diff --git a/tests/javascript/frameworks/dojo/dojo-1.3.3.js b/tests/javascript/frameworks/dojo/dojo-1.3.3.js index 3919209708..a7b343fbed 100644 --- a/tests/javascript/frameworks/dojo/dojo-1.3.3.js +++ b/tests/javascript/frameworks/dojo/dojo-1.3.3.js @@ -446,7 +446,6 @@ dojo.global = { return !!d.getObject(name, false, obj); // Boolean } - dojo["eval"] = function(/*String*/ scriptFragment){ // summary: // Perform an evaluation in the global scope. Use this rather than @@ -458,7 +457,6 @@ dojo.global = { // returns: // The result of the evaluation. Often `undefined` - // note: // - JSC eval() takes an optional second argument which can be 'unsafe'. // - Mozilla/SpiderMonkey eval() takes an optional second argument which is the @@ -565,7 +563,6 @@ dojo.global = { _loadNotifying: false }); - dojo._loadPath = function(/*String*/relpath, /*String?*/module, /*Function?*/cb){ // summary: // Load a Javascript module given a relative path @@ -1056,7 +1053,6 @@ dojo.global = { d.i18n._requireLocalization.apply(d.hostenv, arguments); }; - var ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"); var ire = new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"); @@ -1288,7 +1284,6 @@ if(typeof window != 'undefined'){ dojo.isBrowser = true; dojo._name = "browser"; - // attempt to figure out the path to dojo if it isn't set in the config (function(){ var d = dojo; @@ -1471,7 +1466,6 @@ if(typeof window != 'undefined'){ return http.responseText; // String } - var _w = window; var _handleNodeEvent = function(/*String*/evtName, /*Function*/fp){ // summary: @@ -1486,7 +1480,6 @@ if(typeof window != 'undefined'){ }; }; - d._windowUnloaders = []; d.windowUnloaded = function(){ @@ -1636,7 +1629,6 @@ if(typeof window != 'undefined'){ }catch(e){} } - /* OpenAjax.subscribe("OpenAjax", "onload", function(){ if(dojo._inFlightCount == 0){ @@ -1965,7 +1957,6 @@ if(!dojo._hasResource["dojo._base.declare"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.declare"] = true; dojo.provide("dojo._base.declare"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA dojo.declare = function(/*String*/ className, /*Function|Function[]*/ superclass, /*Object*/ props){ @@ -2149,7 +2140,6 @@ if(!dojo._hasResource["dojo._base.connect"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.connect"] = true; dojo.provide("dojo._base.connect"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA // low-level delegation machinery @@ -2439,7 +2429,6 @@ if(!dojo._hasResource["dojo._base.Deferred"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.Deferred"] = true; dojo.provide("dojo._base.Deferred"); - dojo.Deferred = function(/*Function?*/ canceller){ // summary: // Encapsulates a sequence of callbacks in response to a value that @@ -2723,7 +2712,6 @@ dojo.extend(dojo.Deferred, { } }, - _resback: function(res){ // summary: // The private primitive that means either callback or errback @@ -3236,8 +3224,6 @@ if(!dojo._hasResource["dojo._base.Color"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.Color"] = true; dojo.provide("dojo._base.Color"); - - (function(){ var d = dojo; @@ -3434,14 +3420,6 @@ if(!dojo._hasResource["dojo._base"]){ //_hasResource checks added by build. Do n dojo._hasResource["dojo._base"] = true; dojo.provide("dojo._base"); - - - - - - - - } if(!dojo._hasResource["dojo._base.window"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. @@ -3539,14 +3517,12 @@ dojo.withDoc = function( /*DocumentElement*/documentObject, } }; - } if(!dojo._hasResource["dojo._base.event"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojo._base.event"] = true; dojo.provide("dojo._base.event"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA (function(){ @@ -5782,8 +5758,6 @@ if(!dojo._hasResource["dojo._base.NodeList"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.NodeList"] = true; dojo.provide("dojo._base.NodeList"); - - (function(){ var d = dojo; @@ -6178,7 +6152,6 @@ dojo.provide("dojo._base.NodeList"); return this; // dojo.NodeList }, - /*===== coords: function(){ // summary: @@ -6522,8 +6495,6 @@ dojo.provide("dojo._base.NodeList"); // see: // http://developer.mozilla.org/en/docs/DOM:element - - // FIXME: need synthetic event support! var _e = { target: n, faux: true, type: evt }; // dojo._event_listener._synthesizeEvent({}, { target: n, faux: true, type: evt }); @@ -6545,8 +6516,6 @@ dojo._hasResource["dojo._base.query"] = true; if(typeof dojo != "undefined"){ dojo.provide("dojo._base.query"); - - } /* @@ -6611,7 +6580,6 @@ if(typeof dojo != "undefined"){ // Global utilities //////////////////////////////////////////////////////////////////////// - // on browsers that support the "children" collection we can avoid a lot of // iteration on chaff (non-element) nodes. // why. @@ -6647,7 +6615,6 @@ if(typeof dojo != "undefined"){ // expression. The structure for parts is documented in the code // below. - // NOTE: // this code is designed to run fast and compress well. Sacrifices // to readibility and maintainability have been made. Your best @@ -6676,7 +6643,6 @@ if(typeof dojo != "undefined"){ // the overall data graph of the full query, as represented by queryPart objects var queryParts = []; - // state keeping vars var inBrackets = -1, inParens = -1, inMatchFor = -1, inPseudo = -1, inClass = -1, inId = -1, inTag = -1, @@ -6750,7 +6716,6 @@ if(typeof dojo != "undefined"){ currentPart.oquery = currentPart.query = ts(pStart, x); // save the full expression as a string - // otag/tag are hints to suggest to the system whether or not // it's an operator or a tag. We save a copy of otag since the // tag name is cast to upper-case in regular HTML matches. The @@ -6928,7 +6893,6 @@ if(typeof dojo != "undefined"){ return queryParts; }; - //////////////////////////////////////////////////////////////////////// // DOM query infrastructure //////////////////////////////////////////////////////////////////////// @@ -7702,7 +7666,6 @@ if(typeof dojo != "undefined"){ // trivially rewrite the query to the form "#synid > .thinger" to // use the QSA branch - if(useQSA){ var tq = (specials.indexOf(query.charAt(query.length-1)) >= 0) ? (query + " *") : query; @@ -8045,10 +8008,6 @@ if(!dojo._hasResource["dojo._base.xhr"]){ //_hasResource checks added by build. dojo._hasResource["dojo._base.xhr"] = true; dojo.provide("dojo._base.xhr"); - - - - (function(){ var _d = dojo; function setValue(/*Object*/obj, /*String*/name, /*String*/value){ @@ -8399,8 +8358,6 @@ dojo.provide("dojo._base.xhr"); } =====*/ - - dojo._ioSetArgs = function(/*dojo.__IoArgs*/args, /*Function*/canceller, /*Function*/okHandler, @@ -8790,11 +8747,6 @@ if(!dojo._hasResource["dojo._base.fx"]){ //_hasResource checks added by build. D dojo._hasResource["dojo._base.fx"] = true; dojo.provide("dojo._base.fx"); - - - - - /* Animation losely package based on Dan Pupius' work, contributed under CLA: http://pupius.co.uk/js/Toolkit.Drawing.js @@ -9406,15 +9358,6 @@ if(!dojo._hasResource["dojo._base.browser"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.browser"] = true; dojo.provide("dojo._base.browser"); - - - - - - - - - //Need this to be the last code segment in base, so do not place any //dojo.requireIf calls in this file. Otherwise, due to how the build system //puts all requireIf dependencies after the current file, the require calls diff --git a/tests/javascript/frameworks/dojo/dojo-1.4.3.js b/tests/javascript/frameworks/dojo/dojo-1.4.3.js index c88a90843d..e0665ae8cc 100644 --- a/tests/javascript/frameworks/dojo/dojo-1.4.3.js +++ b/tests/javascript/frameworks/dojo/dojo-1.4.3.js @@ -492,7 +492,6 @@ dojo.global = { return !!d.getObject(name, false, obj); // Boolean } - dojo["eval"] = function(/*String*/ scriptFragment){ // summary: // Perform an evaluation in the global scope. Use this rather than @@ -504,7 +503,6 @@ dojo.global = { // returns: // The result of the evaluation. Often `undefined` - // note: // - JSC eval() takes an optional second argument which can be 'unsafe'. // - Mozilla/SpiderMonkey eval() takes an optional second argument which is the @@ -611,7 +609,6 @@ dojo.global = { _loadNotifying: false }); - dojo._loadPath = function(/*String*/relpath, /*String?*/module, /*Function?*/cb){ // summary: // Load a Javascript module given a relative path @@ -1194,7 +1191,6 @@ dojo.global = { d.i18n._requireLocalization.apply(d.hostenv, arguments); }; - var ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"), ire = new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"); @@ -1427,7 +1423,6 @@ if(typeof window != 'undefined'){ dojo.isBrowser = true; dojo._name = "browser"; - // attempt to figure out the path to dojo if it isn't set in the config (function(){ var d = dojo; @@ -1614,7 +1609,6 @@ if(typeof window != 'undefined'){ return http.responseText; // String } - var _w = window; var _handleNodeEvent = function(/*String*/evtName, /*Function*/fp){ // summary: @@ -1629,7 +1623,6 @@ if(typeof window != 'undefined'){ }, false); }; - d._windowUnloaders = []; d.windowUnloaded = function(){ @@ -1768,7 +1761,6 @@ if(typeof window != 'undefined'){ } //END DOMContentLoaded - /* OpenAjax.subscribe("OpenAjax", "onload", function(){ if(dojo._inFlightCount == 0){ @@ -2452,9 +2444,6 @@ if(!dojo._hasResource["dojo._base.declare"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.declare"] = true; dojo.provide("dojo._base.declare"); - - - (function(){ var d = dojo, mix = d._mixin, op = Object.prototype, opts = op.toString, xtor = new Function, counter = 0, cname = "constructor"; @@ -2751,7 +2740,6 @@ dojo.provide("dojo._base.declare"); }; } - // chained constructor compatible with the legacy dojo.declare() function singleConstructor(ctor, ctorSpecial){ return function(){ @@ -3430,7 +3418,6 @@ if(!dojo._hasResource["dojo._base.connect"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.connect"] = true; dojo.provide("dojo._base.connect"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA // low-level delegation machinery @@ -3734,7 +3721,6 @@ if(!dojo._hasResource["dojo._base.Deferred"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.Deferred"] = true; dojo.provide("dojo._base.Deferred"); - dojo.Deferred = function(/*Function?*/ canceller){ // summary: // Encapsulates a sequence of callbacks in response to a value that @@ -4019,7 +4005,6 @@ dojo.extend(dojo.Deferred, { } }, - _resback: function(res){ // summary: // The private primitive that means either callback or errback @@ -4307,8 +4292,6 @@ if(!dojo._hasResource["dojo._base.Color"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.Color"] = true; dojo.provide("dojo._base.Color"); - - (function(){ var d = dojo; @@ -4528,14 +4511,6 @@ if(!dojo._hasResource["dojo._base"]){ //_hasResource checks added by build. Do n dojo._hasResource["dojo._base"] = true; dojo.provide("dojo._base"); - - - - - - - - } if(!dojo._hasResource["dojo._base.window"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. @@ -4637,14 +4612,12 @@ dojo.withDoc = function( /*DocumentElement*/documentObject, } }; - } if(!dojo._hasResource["dojo._base.event"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojo._base.event"] = true; dojo.provide("dojo._base.event"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA (function(){ @@ -7101,8 +7074,6 @@ if(!dojo._hasResource["dojo._base.NodeList"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.NodeList"] = true; dojo.provide("dojo._base.NodeList"); - - (function(){ var d = dojo; @@ -8089,8 +8060,6 @@ dojo._hasResource["dojo._base.query"] = true; if(typeof dojo != "undefined"){ dojo.provide("dojo._base.query"); - - } /* @@ -8154,7 +8123,6 @@ if(typeof dojo != "undefined"){ // Global utilities //////////////////////////////////////////////////////////////////////// - // on browsers that support the "children" collection we can avoid a lot of // iteration on chaff (non-element) nodes. // why. @@ -8190,7 +8158,6 @@ if(typeof dojo != "undefined"){ // expression. The structure for parts is documented in the code // below. - // NOTE: // this code is designed to run fast and compress well. Sacrifices // to readibility and maintainability have been made. Your best @@ -8219,7 +8186,6 @@ if(typeof dojo != "undefined"){ // the overall data graph of the full query, as represented by queryPart objects var queryParts = []; - // state keeping vars var inBrackets = -1, inParens = -1, inMatchFor = -1, inPseudo = -1, inClass = -1, inId = -1, inTag = -1, @@ -8293,7 +8259,6 @@ if(typeof dojo != "undefined"){ currentPart.oquery = currentPart.query = ts(pStart, x); // save the full expression as a string - // otag/tag are hints to suggest to the system whether or not // it's an operator or a tag. We save a copy of otag since the // tag name is cast to upper-case in regular HTML matches. The @@ -8474,7 +8439,6 @@ if(typeof dojo != "undefined"){ return queryParts; }; - //////////////////////////////////////////////////////////////////////// // DOM query infrastructure //////////////////////////////////////////////////////////////////////// @@ -9263,7 +9227,6 @@ if(typeof dojo != "undefined"){ // trivially rewrite the query to the form "#synid > .thinger" to // use the QSA branch - if(useQSA){ var tq = (specials.indexOf(query.charAt(query.length-1)) >= 0) ? (query + " *") : query; @@ -9606,10 +9569,6 @@ if(!dojo._hasResource["dojo._base.xhr"]){ //_hasResource checks added by build. dojo._hasResource["dojo._base.xhr"] = true; dojo.provide("dojo._base.xhr"); - - - - (function(){ var _d = dojo, cfg = _d.config; @@ -10038,7 +9997,6 @@ dojo.provide("dojo._base.xhr"); } =====*/ - /*===== dojo.__IoPublish = function(){ // summary: @@ -10078,7 +10036,6 @@ dojo.provide("dojo._base.xhr"); } =====*/ - dojo._ioSetArgs = function(/*dojo.__IoArgs*/args, /*Function*/canceller, /*Function*/okHandler, @@ -10222,7 +10179,6 @@ dojo.provide("dojo._base.xhr"); var _inFlightIntvl = null; var _inFlight = []; - //Use a separate count for knowing if we are starting/stopping io calls. //Cannot use _inFlight.length since it can change at a different time than //when we want to do this kind of test. We only want to decrement the count @@ -10541,10 +10497,6 @@ if(!dojo._hasResource["dojo._base.fx"]){ //_hasResource checks added by build. D dojo._hasResource["dojo._base.fx"] = true; dojo.provide("dojo._base.fx"); - - - - /* Animation loosely package based on Dan Pupius' work, contributed under CLA: http://pupius.co.uk/js/Toolkit.Drawing.js @@ -11206,15 +11158,6 @@ if(!dojo._hasResource["dojo._base.browser"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.browser"] = true; dojo.provide("dojo._base.browser"); - - - - - - - - - //Need this to be the last code segment in base, so do not place any //dojo.requireIf calls in this file. Otherwise, due to how the build system //puts all requireIf dependencies after the current file, the require calls diff --git a/tests/javascript/frameworks/dojo/dojo-1.5.0.js b/tests/javascript/frameworks/dojo/dojo-1.5.0.js index 8b7cc207f3..01f02b4828 100644 --- a/tests/javascript/frameworks/dojo/dojo-1.5.0.js +++ b/tests/javascript/frameworks/dojo/dojo-1.5.0.js @@ -598,7 +598,6 @@ dojo.global = { _loadNotifying: false }); - dojo._loadPath = function(/*String*/relpath, /*String?*/module, /*Function?*/cb){ // summary: // Load a Javascript module given a relative path @@ -1181,7 +1180,6 @@ dojo.global = { d.i18n._requireLocalization.apply(d.hostenv, arguments); }; - var ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"), ire = new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"); @@ -1414,7 +1412,6 @@ if(typeof window != 'undefined'){ dojo.isBrowser = true; dojo._name = "browser"; - // attempt to figure out the path to dojo if it isn't set in the config (function(){ var d = dojo; @@ -1602,7 +1599,6 @@ if(typeof window != 'undefined'){ return http.responseText; // String } - var _w = window; var _handleNodeEvent = function(/*String*/evtName, /*Function*/fp){ // summary: @@ -1617,7 +1613,6 @@ if(typeof window != 'undefined'){ }, false); }; - d._windowUnloaders = []; d.windowUnloaded = function(){ @@ -1773,7 +1768,6 @@ if(typeof window != 'undefined'){ } //END DOMContentLoaded - /* OpenAjax.subscribe("OpenAjax", "onload", function(){ if(dojo._inFlightCount == 0){ @@ -2457,9 +2451,6 @@ if(!dojo._hasResource["dojo._base.declare"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.declare"] = true; dojo.provide("dojo._base.declare"); - - - (function(){ var d = dojo, mix = d._mixin, op = Object.prototype, opts = op.toString, xtor = new Function, counter = 0, cname = "constructor"; @@ -2781,7 +2772,6 @@ dojo.provide("dojo._base.declare"); }; } - // chained constructor compatible with the legacy dojo.declare() function singleConstructor(ctor, ctorSpecial){ return function(){ @@ -3499,7 +3489,6 @@ if(!dojo._hasResource["dojo._base.connect"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.connect"] = true; dojo.provide("dojo._base.connect"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA // low-level delegation machinery @@ -3803,7 +3792,6 @@ if(!dojo._hasResource["dojo._base.Deferred"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.Deferred"] = true; dojo.provide("dojo._base.Deferred"); - (function(){ var mutator = function(){}; var freeze = Object.freeze || function(){}; @@ -4001,7 +3989,6 @@ dojo.provide("dojo._base.Deferred"); complete(value); }; - // calling error will indicate that the promise failed this.reject = this.errback = function(error){ // summary: @@ -4287,8 +4274,6 @@ if(!dojo._hasResource["dojo._base.Color"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.Color"] = true; dojo.provide("dojo._base.Color"); - - (function(){ var d = dojo; @@ -4508,14 +4493,6 @@ if(!dojo._hasResource["dojo._base"]){ //_hasResource checks added by build. Do n dojo._hasResource["dojo._base"] = true; dojo.provide("dojo._base"); - - - - - - - - } if(!dojo._hasResource["dojo._base.window"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. @@ -4617,14 +4594,12 @@ dojo.withDoc = function( /*DocumentElement*/documentObject, } }; - } if(!dojo._hasResource["dojo._base.event"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojo._base.event"] = true; dojo.provide("dojo._base.event"); - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA (function(){ @@ -7091,8 +7066,6 @@ if(!dojo._hasResource["dojo._base.NodeList"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.NodeList"] = true; dojo.provide("dojo._base.NodeList"); - - (function(){ var d = dojo; @@ -8102,8 +8075,6 @@ dojo._hasResource["dojo._base.query"] = true; if(typeof dojo != "undefined"){ dojo.provide("dojo._base.query"); - - } /* @@ -8167,7 +8138,6 @@ if(typeof dojo != "undefined"){ // Global utilities //////////////////////////////////////////////////////////////////////// - // on browsers that support the "children" collection we can avoid a lot of // iteration on chaff (non-element) nodes. // why. @@ -8203,7 +8173,6 @@ if(typeof dojo != "undefined"){ // expression. The structure for parts is documented in the code // below. - // NOTE: // this code is designed to run fast and compress well. Sacrifices // to readibility and maintainability have been made. Your best @@ -8232,7 +8201,6 @@ if(typeof dojo != "undefined"){ // the overall data graph of the full query, as represented by queryPart objects var queryParts = []; - // state keeping vars var inBrackets = -1, inParens = -1, inMatchFor = -1, inPseudo = -1, inClass = -1, inId = -1, inTag = -1, @@ -8306,7 +8274,6 @@ if(typeof dojo != "undefined"){ currentPart.oquery = currentPart.query = ts(pStart, x); // save the full expression as a string - // otag/tag are hints to suggest to the system whether or not // it's an operator or a tag. We save a copy of otag since the // tag name is cast to upper-case in regular HTML matches. The @@ -8487,7 +8454,6 @@ if(typeof dojo != "undefined"){ return queryParts; }; - //////////////////////////////////////////////////////////////////////// // DOM query infrastructure //////////////////////////////////////////////////////////////////////// @@ -9276,7 +9242,6 @@ if(typeof dojo != "undefined"){ // trivially rewrite the query to the form "#synid > .thinger" to // use the QSA branch - if(useQSA){ var tq = (specials.indexOf(query.charAt(query.length-1)) >= 0) ? (query + " *") : query; @@ -9619,10 +9584,6 @@ if(!dojo._hasResource["dojo._base.xhr"]){ //_hasResource checks added by build. dojo._hasResource["dojo._base.xhr"] = true; dojo.provide("dojo._base.xhr"); - - - - (function(){ var _d = dojo, cfg = _d.config; @@ -10051,7 +10012,6 @@ dojo.provide("dojo._base.xhr"); } =====*/ - /*===== dojo.__IoPublish = function(){ // summary: @@ -10091,7 +10051,6 @@ dojo.provide("dojo._base.xhr"); } =====*/ - dojo._ioSetArgs = function(/*dojo.__IoArgs*/args, /*Function*/canceller, /*Function*/okHandler, @@ -10235,7 +10194,6 @@ dojo.provide("dojo._base.xhr"); var _inFlightIntvl = null; var _inFlight = []; - //Use a separate count for knowing if we are starting/stopping io calls. //Cannot use _inFlight.length since it can change at a different time than //when we want to do this kind of test. We only want to decrement the count @@ -10554,10 +10512,6 @@ if(!dojo._hasResource["dojo._base.fx"]){ //_hasResource checks added by build. D dojo._hasResource["dojo._base.fx"] = true; dojo.provide("dojo._base.fx"); - - - - /* Animation loosely package based on Dan Pupius' work, contributed under CLA: http://pupius.co.uk/js/Toolkit.Drawing.js @@ -11217,15 +11171,6 @@ if(!dojo._hasResource["dojo._base.browser"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.browser"] = true; dojo.provide("dojo._base.browser"); - - - - - - - - - //Need this to be the last code segment in base, so do not place any //dojo.requireIf calls in this file. Otherwise, due to how the build system //puts all requireIf dependencies after the current file, the require calls diff --git a/tests/javascript/frameworks/dojo/dojo-1.6.0.js b/tests/javascript/frameworks/dojo/dojo-1.6.0.js index 9c763d4fe2..09bfc98314 100644 --- a/tests/javascript/frameworks/dojo/dojo-1.6.0.js +++ b/tests/javascript/frameworks/dojo/dojo-1.6.0.js @@ -598,7 +598,6 @@ dojo.global = { _loadNotifying: false }); - dojo._loadPath = function(/*String*/relpath, /*String?*/module, /*Function?*/cb){ // summary: // Load a Javascript module given a relative path @@ -1191,7 +1190,6 @@ dojo.global = { d.i18n._requireLocalization.apply(d.hostenv, arguments); }; - var ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"), ire = new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"); @@ -1352,8 +1350,6 @@ dojo.global = { return new d._Url(loc, url); // dojo._Url }; - - })(); /*===== @@ -1426,7 +1422,6 @@ if(typeof window != 'undefined'){ dojo.isBrowser = true; dojo._name = "browser"; - // attempt to figure out the path to dojo if it isn't set in the config (function(){ var d = dojo; @@ -1613,7 +1608,6 @@ if(typeof window != 'undefined'){ return http.responseText; // String } - var _w = window; var _handleNodeEvent = function(/*String*/evtName, /*Function*/fp){ // summary: @@ -1628,7 +1622,6 @@ if(typeof window != 'undefined'){ }, false); }; - d._windowUnloaders = []; d.windowUnloaded = function(){ @@ -1784,7 +1777,6 @@ if(typeof window != 'undefined'){ } //END DOMContentLoaded - /* OpenAjax.subscribe("OpenAjax", "onload", function(){ if(dojo._inFlightCount == 0){ @@ -1824,12 +1816,10 @@ if(dojo.config.debugAtAllCosts){ dojo.require("dojo.i18n"); } - if(!dojo._hasResource["dojo._base.lang"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojo._base.lang"] = true; dojo.provide("dojo._base.lang"); - (function(){ var d = dojo, opts = Object.prototype.toString; @@ -2220,8 +2210,6 @@ if(!dojo._hasResource["dojo._base.array"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.array"] = true; dojo.provide("dojo._base.array"); - - (function(){ var _getParts = function(arr, obj, cb){ return [ @@ -2477,9 +2465,6 @@ if(!dojo._hasResource["dojo._base.declare"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.declare"] = true; dojo.provide("dojo._base.declare"); - - - (function(){ var d = dojo, mix = d._mixin, op = Object.prototype, opts = op.toString, xtor = new Function, counter = 0, cname = "constructor"; @@ -2801,7 +2786,6 @@ dojo.provide("dojo._base.declare"); }; } - // chained constructor compatible with the legacy dojo.declare() function singleConstructor(ctor, ctorSpecial){ return function(){ @@ -3519,8 +3503,6 @@ if(!dojo._hasResource["dojo._base.connect"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.connect"] = true; dojo.provide("dojo._base.connect"); - - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA // low-level delegation machinery @@ -3824,8 +3806,6 @@ if(!dojo._hasResource["dojo._base.Deferred"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.Deferred"] = true; dojo.provide("dojo._base.Deferred"); - - (function(){ var mutator = function(){}; var freeze = Object.freeze || function(){}; @@ -4026,7 +4006,6 @@ dojo.provide("dojo._base.Deferred"); complete(value); }; - // calling error will indicate that the promise failed this.reject = this.errback = function(error){ // summary: @@ -4164,7 +4143,6 @@ if(!dojo._hasResource["dojo._base.json"]){ //_hasResource checks added by build. dojo._hasResource["dojo._base.json"] = true; dojo.provide("dojo._base.json"); - dojo.fromJson = function(/*String*/ json){ // summary: // Parses a [JSON](http://json.org) string to return a JavaScript object. @@ -4313,9 +4291,6 @@ if(!dojo._hasResource["dojo._base.Color"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.Color"] = true; dojo.provide("dojo._base.Color"); - - - (function(){ var d = dojo; @@ -4535,7 +4510,6 @@ if(!dojo._hasResource["dojo._base.window"]){ //_hasResource checks added by buil dojo._hasResource["dojo._base.window"] = true; dojo.provide("dojo._base.window"); - /*===== dojo.doc = { // summary: @@ -4637,8 +4611,6 @@ if(!dojo._hasResource["dojo._base.event"]){ //_hasResource checks added by build dojo._hasResource["dojo._base.event"] = true; dojo.provide("dojo._base.event"); - - // this file courtesy of the TurboAjax Group, licensed under a Dojo CLA (function(){ @@ -5279,8 +5251,6 @@ if(!dojo._hasResource["dojo._base.html"]){ //_hasResource checks added by build. dojo._hasResource["dojo._base.html"] = true; dojo.provide("dojo._base.html"); - - // FIXME: need to add unit tests for all the semi-public methods try{ @@ -7109,11 +7079,6 @@ if(!dojo._hasResource["dojo._base.NodeList"]){ //_hasResource checks added by bu dojo._hasResource["dojo._base.NodeList"] = true; dojo.provide("dojo._base.NodeList"); - - - - - (function(){ var d = dojo; @@ -8177,7 +8142,6 @@ var defineQuery= function(d){ // Global utilities //////////////////////////////////////////////////////////////////////// - // on browsers that support the "children" collection we can avoid a lot of // iteration on chaff (non-element) nodes. // why. @@ -8213,7 +8177,6 @@ var defineQuery= function(d){ // expression. The structure for parts is documented in the code // below. - // NOTE: // this code is designed to run fast and compress well. Sacrifices // to readability and maintainability have been made. Your best @@ -8242,7 +8205,6 @@ var defineQuery= function(d){ // the overall data graph of the full query, as represented by queryPart objects var queryParts = []; - // state keeping vars var inBrackets = -1, inParens = -1, inMatchFor = -1, inPseudo = -1, inClass = -1, inId = -1, inTag = -1, @@ -8316,7 +8278,6 @@ var defineQuery= function(d){ currentPart.oquery = currentPart.query = ts(pStart, x); // save the full expression as a string - // otag/tag are hints to suggest to the system whether or not // it's an operator or a tag. We save a copy of otag since the // tag name is cast to upper-case in regular HTML matches. The @@ -8497,7 +8458,6 @@ var defineQuery= function(d){ return queryParts; }; - //////////////////////////////////////////////////////////////////////// // DOM query infrastructure //////////////////////////////////////////////////////////////////////// @@ -9286,7 +9246,6 @@ var defineQuery= function(d){ // trivially rewrite the query to the form "#synid > .thinger" to // use the QSA branch - if(useQSA){ var tq = (specials.indexOf(query.charAt(query.length-1)) >= 0) ? (query + " *") : query; @@ -9694,7 +9653,6 @@ var defineAcme= function(){ if(this["dojo"]){ dojo.provide("dojo._base.query"); - defineQuery(this["queryPortability"]||this["acme"]||dojo); }else{ defineQuery(this["queryPortability"]||this["acme"]||defineAcme()); @@ -9711,11 +9669,6 @@ if(!dojo._hasResource["dojo._base.xhr"]){ //_hasResource checks added by build. dojo._hasResource["dojo._base.xhr"] = true; dojo.provide("dojo._base.xhr"); - - - - - (function(){ var _d = dojo, cfg = _d.config; @@ -10144,7 +10097,6 @@ dojo.provide("dojo._base.xhr"); } =====*/ - /*===== dojo.__IoPublish = function(){ // summary: @@ -10184,7 +10136,6 @@ dojo.provide("dojo._base.xhr"); } =====*/ - dojo._ioSetArgs = function(/*dojo.__IoArgs*/args, /*Function*/canceller, /*Function*/okHandler, @@ -10328,7 +10279,6 @@ dojo.provide("dojo._base.xhr"); var _inFlightIntvl = null; var _inFlight = []; - //Use a separate count for knowing if we are starting/stopping io calls. //Cannot use _inFlight.length since it can change at a different time than //when we want to do this kind of test. We only want to decrement the count @@ -10647,11 +10597,6 @@ if(!dojo._hasResource["dojo._base.fx"]){ //_hasResource checks added by build. D dojo._hasResource["dojo._base.fx"] = true; dojo.provide("dojo._base.fx"); - - - - - /* Animation loosely package based on Dan Pupius' work, contributed under CLA: http://pupius.co.uk/js/Toolkit.Drawing.js @@ -11311,14 +11256,6 @@ if(!dojo._hasResource["dojo._base.browser"]){ //_hasResource checks added by bui dojo._hasResource["dojo._base.browser"] = true; dojo.provide("dojo._base.browser"); - - - - - - - - //Need this to be the last code segment in base, so do not place any //dojo/requireIf calls in this file/ Otherwise, due to how the build system //puts all requireIf dependencies after the current file, the require calls @@ -11333,16 +11270,6 @@ if(!dojo._hasResource["dojo._base"]){ //_hasResource checks added by build. Do n dojo._hasResource["dojo._base"] = true; dojo.provide("dojo._base"); - - - - - - - - - - } //INSERT dojo.i18n._preloadLocalizations HERE diff --git a/tests/javascript/frameworks/ext/ext-all-2.3.0.js b/tests/javascript/frameworks/ext/ext-all-2.3.0.js index 90fde1bd39..30d3b0476b 100644 --- a/tests/javascript/frameworks/ext/ext-all-2.3.0.js +++ b/tests/javascript/frameworks/ext/ext-all-2.3.0.js @@ -8,7 +8,6 @@ Ext.lib={}; *
* http://extjs.com/license
*/
-
Ext.DomHelper=function(){var tempTableEl=null;var emptyTags=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;var tableRe=/^table|tbody|tr|td$/i;var createHtml=function(o){if(typeof o=='string'){return o;} var b="";if(Ext.isArray(o)){for(var i=0,l=o.length;i<l;i++){b+=createHtml(o[i]);} diff --git a/tests/javascript/frameworks/ext/ext-base-2.3.0.js b/tests/javascript/frameworks/ext/ext-base-2.3.0.js index 148fffa0bd..bfb8fc2cbb 100644 --- a/tests/javascript/frameworks/ext/ext-base-2.3.0.js +++ b/tests/javascript/frameworks/ext/ext-base-2.3.0.js @@ -5,7 +5,6 @@ *
* http://extjs.com/license
*/
-
Ext={version:'2.3.0'};window["undefined"]=window["undefined"];Ext.apply=function(o,c,defaults){if(defaults){Ext.apply(o,defaults);} if(o&&c&&typeof c=='object'){for(var p in c){o[p]=c[p];}} diff --git a/tests/javascript/frameworks/jquery/jquery-1.0.4.js b/tests/javascript/frameworks/jquery/jquery-1.0.4.js index 4eaf428449..44e90fab57 100644 --- a/tests/javascript/frameworks/jquery/jquery-1.0.4.js +++ b/tests/javascript/frameworks/jquery/jquery-1.0.4.js @@ -66,18 +66,14 @@ if ( typeof $ != "undefined" ) // Map the jQuery namespace to the '$' one
var $ = jQuery; -
-
jQuery.fn = jQuery.prototype = { jquery: "1.0.4", -
size: function() {
return this.length;
}, -
get: function( num ) {
return num == undefined ?
@@ -108,7 +104,6 @@ jQuery.fn = jQuery.prototype = { return pos;
}, -
attr: function( key, value, type ) {
// Check to see if we're setting style values
return key.constructor != String || value != undefined ?
@@ -134,7 +129,6 @@ jQuery.fn = jQuery.prototype = { jQuery[ type || "attr" ]( this[0], key );
}, -
css: function( key, value ) {
return this.attr( key, value, "curCSS" );
}, @@ -152,7 +146,6 @@ jQuery.fn = jQuery.prototype = { return t;
}, -
wrap: function() {
// The elements to wrap the target around
var a = jQuery.clean(arguments);
@@ -174,28 +167,24 @@ jQuery.fn = jQuery.prototype = { });
}, -
append: function() {
return this.domManip(arguments, true, 1, function(a){
this.appendChild( a );
});
}, -
prepend: function() {
return this.domManip(arguments, true, -1, function(a){
this.insertBefore( a, this.firstChild );
});
}, -
before: function() {
return this.domManip(arguments, false, 1, function(a){
this.parentNode.insertBefore( a, this );
});
}, -
after: function() {
return this.domManip(arguments, false, -1, function(a){
this.parentNode.insertBefore( a, this.nextSibling );
@@ -220,7 +209,6 @@ jQuery.fn = jQuery.prototype = { }), arguments );
}, -
filter: function(t) {
return this.pushStack(
t.constructor == Array &&
@@ -240,14 +228,12 @@ jQuery.fn = jQuery.prototype = { jQuery.filter(t,this).r, arguments );
}, -
not: function(t) {
return this.pushStack( typeof t == "string" ?
jQuery.filter(t,this,false).r :
jQuery.grep(this,function(a){ return a != t; }), arguments );
}, -
add: function(t) {
return this.pushStack( jQuery.merge( this, typeof t == "string" ?
jQuery.find(t) : t.constructor == Array ? t : [t] ), arguments );
@@ -306,7 +292,6 @@ jQuery.fn = jQuery.prototype = { }
}; -
jQuery.extend = jQuery.fn.extend = function() {
// copy reference to target object
var target = arguments[0],
@@ -531,8 +516,7 @@ jQuery.extend({ while ( wrap[0]-- ) div = div.firstChild;
arg = div.childNodes;
}
-
-
+ if ( arg.length != undefined && ( (jQuery.browser.safari && typeof arg == 'function') || !arg.nodeType ) ) // Safari reports typeof on a DOM NodeList to be a function
for ( var n = 0; n < arg.length; n++ ) // Handles Array, jQuery, DOM NodeList collections
r.push(arg[n]);
@@ -1081,8 +1065,7 @@ jQuery.extend({ }
}
}); -
-
+ /*
* Wheather the W3C compliant box model is being used.
*
@@ -1118,62 +1101,43 @@ jQuery.macros = { insertAfter: "after"
}, -
-
css: "width,height,top,left,position,float,overflow,color,background".split(","), -
-
filter: [ "eq", "lt", "gt", "contains" ],
attr: { -
val: "value", -
html: "innerHTML", -
id: null, -
title: null, -
name: null, -
href: null, -
src: null, -
rel: null
},
axis: { -
parent: "a.parentNode", -
ancestors: jQuery.parents, -
parents: jQuery.parents, -
next: "jQuery.sibling(a).next", -
prev: "jQuery.sibling(a).prev", -
siblings: "jQuery.sibling(a, null, true)", -
children: "jQuery.sibling(a.firstChild)"
},
@@ -1213,7 +1177,6 @@ jQuery.macros = { jQuery.className[ jQuery.className.has(this,c) ? "remove" : "add" ](this, c);
}, -
remove: function(a){
if ( !a || jQuery.filter( a, [this] ).r )
this.parentNode.removeChild( this );
@@ -1228,7 +1191,6 @@ jQuery.macros = { jQuery.event.add( this, type, fn );
}, -
unbind: function( type, fn ) {
jQuery.event.remove( this, type, fn );
}, diff --git a/tests/javascript/frameworks/jquery/jquery-1.2.6.js b/tests/javascript/frameworks/jquery/jquery-1.2.6.js index 2c04438968..001f9c2afe 100644 --- a/tests/javascript/frameworks/jquery/jquery-1.2.6.js +++ b/tests/javascript/frameworks/jquery/jquery-1.2.6.js @@ -3455,7 +3455,6 @@ jQuery.fn.offset = function() { return results; }; - jQuery.fn.extend({ position: function() { var left = 0, top = 0, results; @@ -3496,7 +3495,6 @@ jQuery.fn.extend({ } }); - // Create scrollLeft and scrollTop methods jQuery.each( ['Left', 'Top'], function(i, name) { var method = 'scroll' + name; diff --git a/tests/javascript/frameworks/jquery/jquery-1.3.2.js b/tests/javascript/frameworks/jquery/jquery-1.3.2.js index de34b8197b..dc46607eb9 100644 --- a/tests/javascript/frameworks/jquery/jquery-1.3.2.js +++ b/tests/javascript/frameworks/jquery/jquery-1.3.2.js @@ -4255,7 +4255,6 @@ jQuery.offset = { } }; - jQuery.fn.extend({ position: function() { var left = 0, top = 0, results; @@ -4296,7 +4295,6 @@ jQuery.fn.extend({ } }); - // Create scrollLeft and scrollTop methods jQuery.each( ['Left', 'Top'], function(i, name) { var method = 'scroll' + name; diff --git a/tests/javascript/frameworks/jquery/jquery-1.4.4.js b/tests/javascript/frameworks/jquery/jquery-1.4.4.js index c53482c802..a4d8843dc1 100644 --- a/tests/javascript/frameworks/jquery/jquery-1.4.4.js +++ b/tests/javascript/frameworks/jquery/jquery-1.4.4.js @@ -909,7 +909,6 @@ return (window.jQuery = window.$ = jQuery); })(); - (function() { jQuery.support = {}; @@ -1104,8 +1103,6 @@ return (window.jQuery = window.$ = jQuery); root = script = div = all = a = null; })(); - - var windowData = {}, rbrace = /^(?:\{.*\}|\[.*\])$/; @@ -1327,9 +1324,6 @@ function dataAttr( elem, key, data ) { return data; } - - - jQuery.extend({ queue: function( elem, type, data ) { if ( !elem ) { @@ -1422,9 +1416,6 @@ jQuery.fn.extend({ } }); - - - var rclass = /[\n\t]/g, rspaces = /\s+/, rreturn = /\r/g, @@ -1631,7 +1622,6 @@ jQuery.fn.extend({ return elem.getAttribute("value") === null ? "on" : elem.value; } - // Everything else, we just grab the value return (elem.value || "").replace(rreturn, ""); @@ -1799,9 +1789,6 @@ jQuery.extend({ } }); - - - var rnamespaces = /\.(.*)$/, rformElems = /^(?:textarea|input|select)$/i, rperiod = /\./g, @@ -2996,7 +2983,6 @@ if ( window.attachEvent && !window.addEventListener ) { }); } - /*! * Sizzle CSS Selector Engine - v1.0 * Copyright 2009, The Dojo Foundation @@ -4318,10 +4304,8 @@ jQuery.text = Sizzle.getText; jQuery.isXMLDoc = Sizzle.isXML; jQuery.contains = Sizzle.contains; - })(); - var runtil = /Until$/, rparentsprev = /^(?:parents|prevUntil|prevAll)/, // Note: This RegExp should be improved, or likely pulled from Sizzle @@ -4618,9 +4602,6 @@ function winnow( elements, qualifier, keep ) { }); } - - - var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rleadingWhitespace = /^\s+/, rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, @@ -5229,9 +5210,6 @@ function evalScript( i, elem ) { } } - - - var ralpha = /alpha\([^)]*\)/i, ropacity = /opacity=([^)]*)/, rdashAlpha = /-([a-z])/ig, @@ -5562,9 +5540,6 @@ if ( jQuery.expr && jQuery.expr.filters ) { }; } - - - var jsc = jQuery.now(), rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, rselectTextarea = /^(?:select|textarea)/i, @@ -6281,9 +6256,6 @@ if ( window.ActiveXObject ) { // Does this browser support XHR requests? jQuery.support.ajax = !!jQuery.ajaxSettings.xhr(); - - - var elemdisplay = {}, rfxtypes = /^(?:toggle|show|hide)$/, rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/, @@ -6805,9 +6777,6 @@ function defaultDisplay( nodeName ) { return elemdisplay[ nodeName ]; } - - - var rtable = /^t(?:able|d|h)$/i, rroot = /^(?:body|html)$/i; @@ -7019,7 +6988,6 @@ jQuery.offset = { } }; - jQuery.fn.extend({ position: function() { if ( !this[0] ) { @@ -7063,7 +7031,6 @@ jQuery.fn.extend({ } }); - // Create scrollLeft and scrollTop methods jQuery.each( ["Left", "Top"], function( i, name ) { var method = "scroll" + name; @@ -7110,9 +7077,6 @@ function getWindow( elem ) { false; } - - - // Create innerHeight, innerWidth, outerHeight and outerWidth methods jQuery.each([ "Height", "Width" ], function( i, name ) { @@ -7175,5 +7139,4 @@ jQuery.each([ "Height", "Width" ], function( i, name ) { }); - })(window); diff --git a/tests/javascript/frameworks/jquery/jquery-1.5.1.js b/tests/javascript/frameworks/jquery/jquery-1.5.1.js index 7932fc7019..f4145277f3 100644 --- a/tests/javascript/frameworks/jquery/jquery-1.5.1.js +++ b/tests/javascript/frameworks/jquery/jquery-1.5.1.js @@ -1089,7 +1089,6 @@ return jQuery; })(); - (function() { jQuery.support = {}; @@ -1313,8 +1312,6 @@ return jQuery; div = all = a = null; })(); - - var rbrace = /^(?:\{.*\}|\[.*\])$/; jQuery.extend({ @@ -1633,9 +1630,6 @@ function isEmptyDataObject( obj ) { return true; } - - - jQuery.extend({ queue: function( elem, type, data ) { if ( !elem ) { @@ -1732,9 +1726,6 @@ jQuery.fn.extend({ } }); - - - var rclass = /[\n\t\r]/g, rspaces = /\s+/, rreturn = /\r/g, @@ -2121,9 +2112,6 @@ jQuery.extend({ } }); - - - var rnamespaces = /\.(.*)$/, rformElems = /^(?:textarea|input|select)$/i, rperiod = /\./g, @@ -3293,7 +3281,6 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl } }); - /*! * Sizzle CSS Selector Engine * Copyright 2011, The Dojo Foundation @@ -4684,10 +4671,8 @@ jQuery.text = Sizzle.getText; jQuery.isXMLDoc = Sizzle.isXML; jQuery.contains = Sizzle.contains; - })(); - var runtil = /Until$/, rparentsprev = /^(?:parents|prevUntil|prevAll)/, // Note: This RegExp should be improved, or likely pulled from Sizzle @@ -4996,9 +4981,6 @@ function winnow( elements, qualifier, keep ) { }); } - - - var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rleadingWhitespace = /^\s+/, rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, @@ -5701,9 +5683,6 @@ function evalScript( i, elem ) { } } - - - var ralpha = /alpha\([^)]*\)/i, ropacity = /opacity=([^)]*)/, rdashAlpha = /-([a-z])/ig, @@ -6038,9 +6017,6 @@ if ( jQuery.expr && jQuery.expr.filters ) { }; } - - - var r20 = /%20/g, rbracket = /\[\]$/, rCRLF = /\r?\n/g, @@ -7020,9 +6996,6 @@ function ajaxConvert( s, response ) { return response; } - - - var jsc = jQuery.now(), jsre = /(\=)\?(&|$)|()\?\?()/i; @@ -7101,9 +7074,6 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { } } ); - - - // Install script dataType jQuery.ajaxSetup({ accepts: { @@ -7190,9 +7160,6 @@ jQuery.ajaxTransport( "script", function(s) { } } ); - - - var // #5280: next active xhr id and list of active xhrs' callbacks xhrId = jQuery.now(), xhrCallbacks, @@ -7411,9 +7378,6 @@ if ( jQuery.support.ajax ) { }); } - - - var elemdisplay = {}, rfxtypes = /^(?:toggle|show|hide)$/, rfxnum = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i, @@ -7939,9 +7903,6 @@ function defaultDisplay( nodeName ) { return elemdisplay[ nodeName ]; } - - - var rtable = /^t(?:able|d|h)$/i, rroot = /^(?:body|html)$/i; @@ -8153,7 +8114,6 @@ jQuery.offset = { } }; - jQuery.fn.extend({ position: function() { if ( !this[0] ) { @@ -8197,7 +8157,6 @@ jQuery.fn.extend({ } }); - // Create scrollLeft and scrollTop methods jQuery.each( ["Left", "Top"], function( i, name ) { var method = "scroll" + name; @@ -8244,9 +8203,6 @@ function getWindow( elem ) { false; } - - - // Create innerHeight, innerWidth, outerHeight and outerWidth methods jQuery.each([ "Height", "Width" ], function( i, name ) { @@ -8311,6 +8267,5 @@ jQuery.each([ "Height", "Width" ], function( i, name ) { }); - window.jQuery = window.$ = jQuery; })(window); diff --git a/tests/javascript/frameworks/mootools/mootools-1.1.2.js b/tests/javascript/frameworks/mootools/mootools-1.1.2.js index 365d2efc77..f4cb62439d 100644 --- a/tests/javascript/frameworks/mootools/mootools-1.1.2.js +++ b/tests/javascript/frameworks/mootools/mootools-1.1.2.js @@ -2938,7 +2938,6 @@ Element.Events = new Abstract({ In addition to the standard javascript events (load, mouseover, mouseout, click, etc.) <Event.js> contains two custom events this event fires when the mouse enters the area of the dom element; will not be fired again if the mouse crosses over children of the element (unlike mouseover) - Example: >$(myElement).addEvent('mouseenter', myFunction); */ @@ -2955,7 +2954,6 @@ Element.Events = new Abstract({ Event: mouseleave this event fires when the mouse exits the area of the dom element; will not be fired again if the mouse crosses over children of the element (unlike mouseout) - Example: >$(myElement).addEvent('mouseleave', myFunction); */ @@ -3015,7 +3013,6 @@ Function.extend({ }); - /* Script: Element.Filters.js add Filters capability to <Elements>. @@ -4715,7 +4712,6 @@ Fx.Transitions.extend({ return 1 - Math.sin(Math.acos(p)); }, - /* Property: Sine displays a sineousidal transition. Must be used as Sine.easeIn or Sine.easeOut or Sine.easeInOut diff --git a/tests/javascript/frameworks/mootools/mootools-1.2.5.js b/tests/javascript/frameworks/mootools/mootools-1.2.5.js index 40dcdc1903..7107846797 100644 --- a/tests/javascript/frameworks/mootools/mootools-1.2.5.js +++ b/tests/javascript/frameworks/mootools/mootools-1.2.5.js @@ -290,7 +290,6 @@ function $unlink(object){ return unlinked; }; - /* --- @@ -440,7 +439,6 @@ Array.implement({ }); - /* --- @@ -535,7 +533,6 @@ String.implement({ }); - /* --- @@ -610,7 +607,6 @@ Function.implement({ }); - /* --- @@ -664,7 +660,6 @@ Number.alias('times', 'each'); Number.implement(methods); })(['abs', 'acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'exp', 'floor', 'log', 'max', 'min', 'pow', 'sin', 'sqrt', 'tan']); - /* --- @@ -808,7 +803,6 @@ Hash.implement({ Hash.alias({keyOf: 'indexOf', hasValue: 'contains'}); - /* --- @@ -970,7 +964,6 @@ Class.Mutators = { }; - /* --- @@ -1080,7 +1073,6 @@ var Options = new Class({ }); - /* --- @@ -1248,7 +1240,6 @@ Document.Prototype = {$family: {name: 'document'}}; new Document(document); - /* --- @@ -1972,7 +1963,6 @@ if (Browser.Engine.webkit && Browser.Engine.version < 420) Element.Properties.te } }; - /* --- @@ -2128,7 +2118,6 @@ Element.implement({ }); - Native.implement([Document, Window], { getSize: function(){ @@ -2231,7 +2220,6 @@ Native.implement([Window, Document, Element], { }); - /* --- @@ -2355,7 +2343,6 @@ Event.implement({ }); - /* --- @@ -2519,7 +2506,6 @@ Element.Events = new Hash({ })(); - /* --- @@ -2669,7 +2655,6 @@ Element.ShortStyles = {margin: {}, padding: {}, border: {}, borderWidth: {}, bor Short.borderColor[bdc] = Short[bd][bdc] = All[bdc] = 'rgb(@, @, @)'; }); - /* --- @@ -2810,7 +2795,6 @@ Fx.compute = function(from, to, delta){ Fx.Durations = {'short': 250, 'normal': 500, 'long': 1000}; - /* --- @@ -2952,7 +2936,6 @@ Fx.CSS.Parsers = new Hash({ }); - /* --- @@ -3031,7 +3014,6 @@ Element.implement({ }); - /* --- @@ -3136,7 +3118,6 @@ Fx.Transitions.extend({ }); }); - /* --- @@ -3241,7 +3222,6 @@ Element.implement({ }); - /* --- @@ -3476,7 +3456,6 @@ Element.implement({ }); - /* --- @@ -3578,7 +3557,6 @@ Element.implement({ }); - /* --- @@ -3635,7 +3613,6 @@ var JSON = new Hash(this.JSON && { }); - /* --- @@ -3672,7 +3649,6 @@ Request.JSON = new Class({ }); - /* --- @@ -3746,7 +3722,6 @@ Cookie.dispose = function(key, options){ return new Cookie(key, options).dispose(); }; - /* --- @@ -3800,7 +3775,6 @@ Element.Events.domready = { })(); - /* --- @@ -4177,7 +4151,6 @@ Selectors.Pseudo = new Hash({ }); - /* --- diff --git a/tests/javascript/frameworks/mootools/mootools-1.3.1.js b/tests/javascript/frameworks/mootools/mootools-1.3.1.js index 76f0c41c50..3b000aa447 100644 --- a/tests/javascript/frameworks/mootools/mootools-1.3.1.js +++ b/tests/javascript/frameworks/mootools/mootools-1.3.1.js @@ -396,11 +396,8 @@ String.extend('uniqueID', function(){ return (UID++).toString(36); }); - - }).call(this); - /* --- @@ -568,9 +565,6 @@ Array.implement({ }); - - - /* --- @@ -654,7 +648,6 @@ String.implement({ }); - /* --- @@ -708,7 +701,6 @@ Number.alias('each', 'times'); Number.implement(methods); })(['abs', 'acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'exp', 'floor', 'log', 'max', 'min', 'pow', 'sin', 'sqrt', 'tan']); - /* --- @@ -777,9 +769,6 @@ Function.implement({ }); - - - /* --- @@ -899,9 +888,6 @@ Object.extend({ })(); - - - /* --- @@ -1101,11 +1087,8 @@ try { }); } - - }).call(this); - /* --- @@ -1216,8 +1199,6 @@ Event.Keys = { 'delete': 46 }; - - Event.implement({ stop: function(){ @@ -1238,7 +1219,6 @@ Event.implement({ }); - /* --- @@ -1355,7 +1335,6 @@ Class.Mutators = { }).call(this); - /* --- @@ -1407,8 +1386,6 @@ this.Events = new Class({ addEvent: function(type, fn, internal){ type = removeOn(type); - - this.$events[type] = (this.$events[type] || []).include(fn); if (internal) fn.internal = true; return this; @@ -1476,7 +1453,6 @@ this.Options = new Class({ }).call(this); - /* --- name: Slick.Parser @@ -1708,7 +1684,6 @@ if (!this.Slick) this.Slick = Slick; }).apply(/*<CommonJS>*/(typeof exports != 'undefined') ? exports : /*</CommonJS>*/this); - /* --- name: Slick.Finder @@ -2668,7 +2643,6 @@ if (!this.Slick) this.Slick = Slick; }).apply(/*<CommonJS>*/(typeof exports != 'undefined') ? exports : /*</CommonJS>*/this); - /* --- @@ -2740,8 +2714,6 @@ if (!Browser.Element){ Element.Constructors = {}; - - var IFrame = new Type('IFrame', function(){ var params = Array.link(arguments, { properties: Type.isObject, @@ -2831,8 +2803,6 @@ new Type('Elements', Elements).implement({ }); - - (function(){ // FF, IE @@ -2963,8 +2933,6 @@ Window.implement({ }); - - if (window.$$ == null) Window.implement('$$', function(selector){ if (arguments.length == 1){ if (typeof selector == 'string') return Slick.search(this.document, selector, new Elements); @@ -3042,8 +3010,6 @@ var inserters = { inserters.inside = inserters.bottom; - - var injectCombinator = function(expression, combinator){ if (!expression) return combinator; @@ -3313,8 +3279,6 @@ var contains = {contains: function(element){ if (!document.contains) Document.implement(contains); if (!document.createElement('div').contains) Element.implement(contains); - - [Element, Window, Document].invoke('implement', { addListener: function(type, fn){ @@ -3368,8 +3332,6 @@ if (window.attachEvent && !window.addEventListener) window.addListener('unload', Element.Properties = {}; - - Element.Properties.style = { set: function(style){ @@ -3440,7 +3402,6 @@ Element.Properties.html = (function(){ return html; })(); - /* --- @@ -3599,8 +3560,6 @@ Element.Styles = { zIndex: '@', 'zoom': '@', fontWeight: '@', textIndent: '@px', opacity: '@' }; - - Element.ShortStyles = {margin: {}, padding: {}, border: {}, borderWidth: {}, borderStyle: {}, borderColor: {}}; ['Top', 'Right', 'Bottom', 'Left'].each(function(direction){ @@ -3621,7 +3580,6 @@ Element.ShortStyles = {margin: {}, padding: {}, border: {}, borderWidth: {}, bor }).call(this); - /* --- @@ -3790,11 +3748,8 @@ Element.Events = { }; - - }).call(this); - /* --- @@ -3977,7 +3932,6 @@ Element.implement({ }); - [Document, Window].invoke('implement', { getSize: function(){ @@ -4079,7 +4033,6 @@ Element.alias({position: 'setPosition'}); //compatability }); - /* --- @@ -4260,7 +4213,6 @@ var pullInstance = function(fps){ }).call(this); - /* --- @@ -4405,9 +4357,6 @@ Fx.CSS.Parsers = { }; - - - /* --- @@ -4512,7 +4461,6 @@ Element.implement({ }); - /* --- @@ -4591,7 +4539,6 @@ Element.implement({ }); - /* --- @@ -4650,8 +4597,6 @@ Fx.Transitions = { }; - - Fx.Transitions.extend = function(transitions){ for (var transition in transitions) Fx.Transitions[transition] = new Fx.Transition(transitions[transition]); }; @@ -4702,7 +4647,6 @@ Fx.Transitions.extend({ }); }); - /* --- @@ -5064,7 +5008,6 @@ Element.implement({ }); - /* --- @@ -5085,8 +5028,6 @@ provides: JSON if (typeof JSON == 'undefined') this.JSON = {}; - - (function(){ var special = {'\b': '\\b', '\t': '\\t', '\n': '\\n', '\f': '\\f', '\r': '\\r', '"' : '\\"', '\\': '\\\\'}; @@ -5140,7 +5081,6 @@ JSON.decode = function(string, secure){ }).call(this); - /* --- @@ -5188,7 +5128,6 @@ Request.JSON = new Class({ }); - /* --- @@ -5264,7 +5203,6 @@ Cookie.dispose = function(key, options){ return new Cookie(key, options).dispose(); }; - /* --- @@ -5374,7 +5312,6 @@ window.addEvent('load', function(){ })(window, document); - /* --- diff --git a/tests/javascript/frameworks/prototype/prototype-1.6.0.js b/tests/javascript/frameworks/prototype/prototype-1.6.0.js index 5c73462946..b09f73ba04 100644 --- a/tests/javascript/frameworks/prototype/prototype-1.6.0.js +++ b/tests/javascript/frameworks/prototype/prototype-1.6.0.js @@ -2171,7 +2171,6 @@ Element._attributeTranslations = { } }; - if (!document.createRange || Prototype.Browser.Opera) { Element.Methods.insert = function(element, insertions) { element = $(element); 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(/</g,'<').replace(/>/g,'>').replace(/&/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, diff --git a/tests/javascript/frameworks/yui/yui-3.3.0.js b/tests/javascript/frameworks/yui/yui-3.3.0.js index 78b00d855a..7b4393f68f 100644 --- a/tests/javascript/frameworks/yui/yui-3.3.0.js +++ b/tests/javascript/frameworks/yui/yui-3.3.0.js @@ -495,7 +495,6 @@ proto = { done = Y.Env._attached, len = r.length, loader; - for (i = 0; i < len; i++) { if (!done[r[i]]) { name = r[i]; @@ -503,7 +502,6 @@ proto = { if (!mod) { loader = Y.Env._loader; - if (!loader || !loader.moduleInfo[name]) { Y.message('NOT loaded: ' + name, 'warn', 'yui'); } @@ -724,7 +722,6 @@ proto = { ret = true, data = response.data; - Y._loading = false; if (data) { @@ -763,7 +760,6 @@ proto = { }; - // YUI().use('*'); // bind everything available if (firstArg === '*') { ret = Y._attach(Y.Object.keys(mods)); @@ -773,7 +769,6 @@ proto = { return Y; } - // use loader to expand dependencies and sort the // requirements if it is available. if (boot && Y.Loader && args.length) { @@ -849,7 +844,6 @@ proto = { return Y; }, - /** * Returns the namespace specified and creates it if it doesn't exist * <pre> @@ -994,8 +988,6 @@ proto = { */ }; - - YUI.prototype = proto; // inheritance utilities are not available yet @@ -1028,7 +1020,6 @@ proto = { }()); - /** * The config object contains all of the configuration options for * the YUI instance. This object is supplied by the implementer @@ -1867,7 +1858,6 @@ L.now = Date.now || function () { * @submodule yui-base */ - var Native = Array.prototype, LENGTH = 'length', /** @@ -2177,7 +2167,6 @@ _iefix = function(r, s) { } }; - /** * Returns a new object containing all of the properties of * all the supplied objects. The properties from later objects @@ -2900,14 +2889,11 @@ YUI.Env.parseUA = function(subUA) { return o; }; - Y.UA = YUI.Env.UA || YUI.Env.parseUA(); - }, '3.3.0' ); YUI.add('get', function(Y) { - /** * Provides a mechanism to fetch remote resources and * insert them into a document. @@ -2954,7 +2940,6 @@ Y.Get = function() { */ purging, - /** * Generates an HTML element, this is not appended to a document * @method _node @@ -3136,7 +3121,6 @@ Y.Get = function() { _end(id, 'timeout', 'timeout'); }, - /** * Loads the next item for a given request * @method _next @@ -3191,7 +3175,6 @@ Y.Get = function() { return _next(id); } - if (q.timeout) { // q.timer = L.later(q.timeout, q, _timeout, id); q.timer = setTimeout(function() { @@ -3226,7 +3209,6 @@ Y.Get = function() { h.appendChild(n); } - // FireFox does not support the onload event for link nodes, so // there is no way to make the css requests synchronous. This means // that the css rules in multiple files could be applied out of order @@ -3654,8 +3636,6 @@ Y.Get = function() { }; }(); - - }, '3.3.0' ,{requires:['yui-base']}); YUI.add('features', function(Y) { @@ -3801,7 +3781,6 @@ add('load', '5', { "trigger": "history-hash" }); - }, '3.3.0' ,{requires:['yui-base']}); YUI.add('rls', function(Y) { @@ -3861,8 +3840,6 @@ Y._rls = function(what) { return url; }; - - }, '3.3.0' ,{requires:['get','features']}); YUI.add('intl-base', function(Y) { @@ -3950,7 +3927,6 @@ Y.mix(Y.namespace('Intl'), { } }); - }, '3.3.0' ,{requires:['yui-base']}); YUI.add('yui-log', function(Y) { @@ -4056,7 +4032,6 @@ INSTANCE.message = function() { return INSTANCE.log.apply(INSTANCE, arguments); }; - }, '3.3.0' ,{requires:['yui-base']}); YUI.add('yui-later', function(Y) { @@ -4119,8 +4094,6 @@ Y.later = function(when, o, fn, data, periodic) { Y.Lang.later = Y.later; - - }, '3.3.0' ,{requires:['yui-base']}); YUI.add('yui-throttle', function(Y) { @@ -4162,9 +4135,7 @@ Y.throttle = function(fn, ms) { }); }; - }, '3.3.0' ,{requires:['yui-base']}); - YUI.add('yui', function(Y){}, '3.3.0' ,{use:['yui-base','get','features','rls','intl-base','yui-log','yui-later','yui-throttle']}); diff --git a/tests/javascript/index.php b/tests/javascript/index.php index 3a9b383362..7204f3250e 100644 --- a/tests/javascript/index.php +++ b/tests/javascript/index.php @@ -425,7 +425,6 @@ function PiwikTest() { ok( tracker.hook.test._isString(new String), 'isString(String)' ); // String is a string }); - test("AnalyticsTracker alias", function() { expect(1); @@ -433,8 +432,6 @@ function PiwikTest() { equal( typeof tracker.hook.test._encode, 'function', 'encodeWrapper' ); }); - - test("Tracker encode, decode, urldecode wrappers", function() { expect(6); @@ -557,7 +554,6 @@ function PiwikTest() { ok( tracker.hook.test._getProtocolScheme(':') === null, 'unspecified scheme' ); ok( tracker.hook.test._getProtocolScheme('scheme') === null, 'missing colon' ); - equal( typeof tracker.hook.test._resolveRelativeReference, 'function', 'resolveRelativeReference' ); var i, j, data = [ @@ -903,7 +899,6 @@ function PiwikTest() { 'example3.com/current/folder/relative.html' ]]); - Piwik_Overlay_UrlNormalizer.setBaseHref('http://example.com/base/'); test([ @@ -1105,7 +1100,6 @@ if ($sqlite) { ok( campaignName2 == "YEAH", "getAttributionCampaignName()"); ok( campaignKeyword2 == "RIGHT!", "getAttributionCampaignKeyword()"); - // Test visitor ID at the start is the same at the end var visitorIdEnd = tracker.getVisitorId(); ok( visitorIdStart == visitorIdEnd, "tracker.getVisitorId() same at the start and end of process"); @@ -1230,7 +1224,6 @@ if ($sqlite) { window.onerror = oldOnError; // Testing JavaScriptErrorTracking END - stop(); setTimeout(function() { xhr.open("GET", "piwik.php?requests=" + getToken(), false); diff --git a/tests/javascript/jash/Jash.js b/tests/javascript/jash/Jash.js index 45fb379deb..80288a40aa 100644 --- a/tests/javascript/jash/Jash.js +++ b/tests/javascript/jash/Jash.js @@ -169,8 +169,6 @@ function Jash() { return txt; } - - /** * Print simple output to the console * @param {string} text text to print @@ -275,8 +273,6 @@ function Jash() { this.dump(this.outputHistory); } - - /** * Map input keystrokes * @param {int} keyCode number representing keycode of key pressed in event object @@ -438,7 +434,6 @@ function Jash() { var textareaWrap = document.createElement("div"); textareaWrap.id = "JashTextareaWrap"; - /* OUTPUT FIELD */ var debugOutput = document.createElement("textarea"); debugOutput.id = "JashOutput"; @@ -451,7 +446,6 @@ function Jash() { inp.id = "JashInput"; var last = ""; - /* listen for certain keystrokes, map them */ inp.onkeydown = function(e) { e = (typeof window.event != "undefined") ? window.event : e; @@ -630,7 +624,6 @@ function Jash() { textareaWrap.style.width = newWidth + "px"; debugParent.style.width = newWidth + "px"; - var newHeight = originalDims.y + (newMouseDims.y - originMouseDims.y); if(newHeight < self.minDims.y) { newHeight = self.minDims.y; } textareaWrap.style.height = newHeight + "px"; @@ -641,7 +634,6 @@ function Jash() { } } - var bottomBar = document.createElement("div"); bottomBar.id = "JashBottomBar"; @@ -785,7 +777,6 @@ function Jash() { } } - /** * DOM inspection: Show parent node structure, and possibly innerHTML, of node * under mouse cursor. diff --git a/tests/javascript/jslint/jslint.js b/tests/javascript/jslint/jslint.js index fe8a4d86a4..f6e37b8440 100644 --- a/tests/javascript/jslint/jslint.js +++ b/tests/javascript/jslint/jslint.js @@ -299,7 +299,6 @@ var JSLINT = (function () { return object; } - var allowed_option = { bitwise : true, browser : true, @@ -637,7 +636,6 @@ var JSLINT = (function () { // token tx = /^\s*([(){}\[\]\?.,:;'"~#@`]|={1,3}|\/(\*(jslint|properties|property|members?|globals?)?|=|\/)?|\*[\/=]?|\+(?:=|\++)?|-(?:=|-+)?|[\^%]=?|&[&=]?|\|[|=]?|>{1,3}=?|<(?:[\/=!]|\!(\[|--)?|<=?)?|\!(\!|==?)?|[a-zA-Z_$][a-zA-Z0-9_$]*|[0-9]+(?:[xX][0-9a-fA-F]+|\.[0-9]*)?(?:[eE][+\-]?[0-9]+)?)/; - function F() {} // Used by Object.create // Provide critical ES5 functions to ES3. @@ -727,7 +725,6 @@ var JSLINT = (function () { }; } - function sanitize(a) { // Escapify a troublesome character. @@ -736,14 +733,12 @@ var JSLINT = (function () { '\\u' + ('0000' + a.charCodeAt().toString(16)).slice(-4); } - function add_to_predefined(group) { Object.keys(group).forEach(function (name) { predefined[name] = group[name]; }); } - function assume() { if (option.rhino) { add_to_predefined(rhino); @@ -772,7 +767,6 @@ var JSLINT = (function () { } } - // Produce an error warning. function artifact(tok) { @@ -1466,7 +1460,6 @@ klass: do { }; }()); - function add_label(token, kind, name) { // Define the symbol in the current function in the current scope. @@ -1510,7 +1503,6 @@ klass: do { funct[name] = kind; } - function peek(distance) { // Peek ahead to a future token. The distance is how far ahead to look. The @@ -1529,7 +1521,6 @@ klass: do { return found; } - function advance(id, match) { // Produce the next token, also looking for programming errors. @@ -1634,7 +1625,6 @@ klass: do { tokens.push(next_token); } - function do_globals() { var name, writeable; for (;;) { @@ -1666,7 +1656,6 @@ klass: do { } } - function do_jslint() { var name, value; while (next_token.id === '(string)' || next_token.identifier) { @@ -1703,7 +1692,6 @@ klass: do { assume(); } - function do_properties() { var name; option.properties = true; @@ -1729,7 +1717,6 @@ klass: do { } } - directive = function directive() { var command = this.id, old_comments_off = comments_off, @@ -1764,14 +1751,12 @@ klass: do { indent = old_indent; }; - // Indentation intention function edge(mode) { next_token.edge = indent ? indent.open && (mode || 'edge') : ''; } - function step_in(mode) { var open; if (typeof mode === 'number') { @@ -1882,7 +1867,6 @@ klass: do { } } - function semicolon() { if (next_token.id !== ';') { warn_at('expected_a_b', token.line, token.thru, ';', artifact()); @@ -1912,7 +1896,6 @@ klass: do { return false; } - function are_similar(a, b) { if (a === b) { return true; @@ -1966,7 +1949,6 @@ klass: do { return false; } - // This is the heart of JSLINT, the Pratt parser. In addition to parsing, it // is looking for ad hoc lint patterns. We add .fud to Pratt's model, which is // like .nud except that it is only used on the first token of a statement. @@ -2020,7 +2002,6 @@ klass: do { return left; } - // Functional constructors for making the symbols that will be inherited by // tokens. @@ -2051,7 +2032,6 @@ klass: do { return postscript(x); } - function stmt(s, f) { var x = symbol(s); x.identifier = x.reserved = true; @@ -2069,7 +2049,6 @@ klass: do { x.disrupt = true; } - function reserve_name(x) { var c = x.id.charAt(0); if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) { @@ -2078,7 +2057,6 @@ klass: do { return x; } - function prefix(s, f) { var x = symbol(s, 150); reserve_name(x); @@ -2119,7 +2097,6 @@ klass: do { return x; } - function type(s, t, nud) { var x = symbol(s); x.arity = t; @@ -2129,7 +2106,6 @@ klass: do { return x; } - function reserve(s, f) { var x = symbol(s); x.identifier = x.reserved = true; @@ -2139,7 +2115,6 @@ klass: do { return x; } - function constant(name) { var x = reserve(name); x.string = name; @@ -2147,7 +2122,6 @@ klass: do { return x; } - function reservevar(s, v) { return reserve(s, function () { if (typeof v === 'function') { @@ -2157,7 +2131,6 @@ klass: do { }); } - function infix(s, p, f, w) { var x = symbol(s, p); reserve_name(x); @@ -2248,7 +2221,6 @@ klass: do { return node; } - function relation(s, eqeq) { return infix(s, 100, function (left, that) { check_relation(left); @@ -2285,7 +2257,6 @@ klass: do { }); } - function assignop(s, op) { var x = infix(s, 20, function (left, that) { that.first = left; @@ -2334,14 +2305,12 @@ klass: do { return x; } - function bitwise(s, p) { var x = infix(s, p, 'number'); x.bitwise = true; return x; } - function suffix(s) { var x = symbol(s, 150); x.led = function (left) { @@ -2359,7 +2328,6 @@ klass: do { return x; } - function optional_identifier(variable) { if (next_token.identifier) { advance(); @@ -2370,7 +2338,6 @@ klass: do { } } - function identifier(variable) { var i = optional_identifier(variable); if (!i) { @@ -2381,7 +2348,6 @@ klass: do { return i; } - function statement() { var label, old_scope = scope, the_statement; @@ -2456,7 +2422,6 @@ klass: do { return the_statement; } - function statements() { var array = [], disruptor, the_statement; @@ -2492,7 +2457,6 @@ klass: do { return array; } - function block(ordinary) { // array block is array sequence of statements wrapped in braces. @@ -2534,7 +2498,6 @@ klass: do { return array; } - function tally_property(name) { if (option.properties && typeof property[name] !== 'number') { warn('unexpected_property_a', token, name); @@ -2546,7 +2509,6 @@ klass: do { } } - // ECMAScript parser syntax['(identifier)'] = { @@ -2955,7 +2917,6 @@ klass: do { return that; }); - prefix('~', function (that) { no_space_only(); if (!option.bitwise) { @@ -3251,7 +3212,6 @@ klass: do { return that; }, 170); - function property_name() { var id = optional_identifier(); if (!id) { @@ -3266,8 +3226,6 @@ klass: do { return id; } - - assignop('='); assignop('+=', '+'); assignop('-=', '-'); @@ -4003,7 +3961,6 @@ klass: do { return this; }); - // Superfluous reserved words reserve('class'); @@ -4026,7 +3983,6 @@ klass: do { reserve('static'); reserve('yield'); - // Parse JSON function json_value() { @@ -4113,7 +4069,6 @@ klass: do { } } - // The actual JSLINT function itself. itself = function JSLint(the_source, the_option) { @@ -4219,7 +4174,6 @@ klass: do { return JSLINT.errors.length === 0; }; - // Data summary. itself.data = function () { @@ -4360,7 +4314,6 @@ klass: do { return output.join(''); }; - itself.report = function (data) { var dl, i, j, names, output = [], the_function; diff --git a/tests/javascript/piwik.php b/tests/javascript/piwik.php index 26cfa67eb4..856193e330 100644 --- a/tests/javascript/piwik.php +++ b/tests/javascript/piwik.php @@ -35,7 +35,6 @@ if (filesize(dirname(__FILE__).'/unittest.dbf') == 0) } } - if (isset($_GET['requests'])) { $token = get_magic_quotes_gpc() ? stripslashes($_GET['requests']) : $_GET['requests']; $ua = $_SERVER['HTTP_USER_AGENT']; |