Skip to content

Commit 5c18281

Browse files
committed
massive whitespace fix refs #12196 \!strict
1 parent 0957e19 commit 5c18281

File tree

662 files changed

+11194
-11194
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

662 files changed

+11194
-11194
lines changed

NodeList/delegate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dojo.extend(dojo.NodeList, {
4949
var closest = dojo.query(evt.target).closest(selector, this);
5050
if(closest.length){
5151
fn.call(closest[0], evt);
52-
}
52+
}
5353
}); //dojo.NodeList
5454
}
5555
});

analytics/Urchin.js

+17-17
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,38 @@ dojo.provide("dojox.analytics.Urchin");
44
dojo.mixin(djConfig,{
55
// urchin: String
66
// Used by `dojox.analytics.Urchin` as the default UA-123456-7 account
7-
// number used when being created. Alternately, you can pass an acct:""
7+
// number used when being created. Alternately, you can pass an acct:""
88
// parameter to the constructor a la: new dojox.analytics.Urchin({ acct:"UA-123456-7" });
99
urchin: ""
1010
});
1111
=====*/
1212

1313
dojo.declare("dojox.analytics.Urchin", null, {
14-
// summary: A Google-analytics helper, for post-onLoad inclusion of the tracker, and
15-
// dynamic tracking during long-lived page cycles.
14+
// summary: A Google-analytics helper, for post-onLoad inclusion of the tracker, and
15+
// dynamic tracking during long-lived page cycles.
1616
//
1717
// description:
1818
// A small class object will allows for lazy-loading the Google Analytics API
1919
// at any point during a page lifecycle. Most commonly, Google-Analytics is loaded
20-
// via a synchronous script tag in the body, which causes `dojo.addOnLoad` to
20+
// via a synchronous script tag in the body, which causes `dojo.addOnLoad` to
2121
// stall until the external API has been completely loaded. The Urchin helper
2222
// will load the API on the fly, and provide a convenient API to use, wrapping
2323
// Analytics for Ajaxy or single page applications.
2424
//
2525
// The class can be instantiated two ways: Programatically, by passing an
26-
// `acct:` parameter, or via Markup / dojoType and defining a djConfig
26+
// `acct:` parameter, or via Markup / dojoType and defining a djConfig
2727
// parameter `urchin:`
2828
//
29-
// IMPORTANT:
30-
// This module will not work simultaneously with the core dojox.analytics
29+
// IMPORTANT:
30+
// This module will not work simultaneously with the core dojox.analytics
3131
// package. If you need the ability to run Google Analytics AND your own local
3232
// analytics system, you MUST include dojox.analytics._base BEFORE dojox.analytics.Urchin
3333
//
3434
// example:
3535
// | // create the tracker programatically:
3636
// | var tracker = new dojox.analytics.Urchin({ acct:"UA-123456-7" });
3737
//
38-
// example:
38+
// example:
3939
// | // define the urchin djConfig option:
4040
// | var djConfig = { urchin: "UA-123456-7" };
4141
// |
@@ -45,15 +45,15 @@ dojo.declare("dojox.analytics.Urchin", null, {
4545
// | new dojox.analytics.Urchin();
4646
//
4747
// example:
48-
// | // create and define all analytics with one tag.
48+
// | // create and define all analytics with one tag.
4949
// | <div dojoType="dojox.analytics.Urchin" acct="UA-12345-67"></div>
5050
//
5151
// acct: String
5252
// your GA urchin tracker account number. Overrides `djConfig.urchin`
5353
acct: "",
5454

5555
constructor: function(args){
56-
// summary:
56+
// summary:
5757
// Initialize this Urchin instance. Immediately starts the load
5858
// sequence, so defer construction until (ideally) after onLoad and
5959
// potentially widget parsing.
@@ -85,20 +85,20 @@ dojo.declare("dojox.analytics.Urchin", null, {
8585
},
8686

8787
GAonLoad: function(){
88-
// summary:
88+
// summary:
8989
// Stub function to fire when urchin is complete
9090
// description:
91-
// This function is executed when the tracker variable is
91+
// This function is executed when the tracker variable is
9292
// complete and initialized. The initial trackPageView (with
93-
// no arguments) is called here as well, so remeber to call
93+
// no arguments) is called here as well, so remeber to call
9494
// manually if overloading this method.
9595
//
9696
// example:
9797
// Create an Urchin tracker that will track a specific page on init
9898
// after page load (or parsing, if parseOnLoad is true)
9999
// | dojo.addOnLoad(function(){
100100
// | new dojox.ananlytics.Urchin({
101-
// | acct:"UA-12345-67",
101+
// | acct:"UA-12345-67",
102102
// | GAonLoad: function(){
103103
// | this.trackPageView("/custom-page");
104104
// | }
@@ -109,8 +109,8 @@ dojo.declare("dojox.analytics.Urchin", null, {
109109
},
110110

111111
trackPageView: function(/* string */url){
112-
// summary: A public API attached to this widget instance, allowing you
113-
// Ajax-like notification of updates.
112+
// summary: A public API attached to this widget instance, allowing you
113+
// Ajax-like notification of updates.
114114
//
115115
// url: String
116116
// A location to tell the tracker to track, eg: "/my-ajaxy-endpoint"
@@ -121,7 +121,7 @@ dojo.declare("dojox.analytics.Urchin", null, {
121121
// | dojo.connect(container, "onclick", function(e){
122122
// | var ref = dojo.attr(e.target, "href");
123123
// | tracker.trackPageView(ref);
124-
// | pane.attr("href", ref);
124+
// | pane.attr("href", ref);
125125
// | });
126126

127127
this.tracker._trackPageview.apply(this, arguments);

analytics/_base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dojox.analytics = function(){
2727
dojo.extend(dojox.analytics, {
2828
schedulePusher: function(/* Int */interval){
2929
// summary: Schedule the data pushing routines to happen in interval ms
30-
setTimeout(dojo.hitch(this, "checkData"), interval || this.sendInterval);
30+
setTimeout(dojo.hitch(this, "checkData"), interval || this.sendInterval);
3131
},
3232

3333
addData: function(dataType, data){

analytics/plugins/consoleMessages.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dojox.analytics.plugins.consoleMessages = new (function(){
1515
if(console[lvls[i]]){
1616
dojo.connect(console, lvls[i], dojo.hitch(this, "addData", lvls[i]));
1717
}else{
18-
console[lvls[i]] = dojo.hitch(this, "addData", lvls[i]);
18+
console[lvls[i]] = dojo.hitch(this, "addData", lvls[i]);
1919
}
2020
}
2121
})();

analytics/plugins/idle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dojox.analytics.plugins.idle = new (function(){
1616
dojo.addOnLoad(dojo.hitch(this, function(){
1717
var idleResets=["onmousemove","onkeydown","onclick","onscroll"];
1818
for (var i=0;i<idleResets.length;i++){
19-
dojo.connect(dojo.doc,idleResets[i],this, function(e){
19+
dojo.connect(dojo.doc,idleResets[i],this, function(e){
2020
if (this.idle){
2121
this.idle=false;
2222
this.addData("isActive");

analytics/plugins/mouseOver.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ dojox.analytics.plugins.mouseOver = new (function(){
1212
dojo.disconnect(this._watchingMouse);
1313
delete this._watchingMouse;
1414
return;
15-
}
15+
}
1616
dojo.connect(dojo.doc, "onmousemove", this, "sampleMouse");
1717
}
1818

1919
if (this.watchMouse){
20-
dojo.connect(dojo.doc, "onmouseover", this, "toggleWatchMouse");
20+
dojo.connect(dojo.doc, "onmouseover", this, "toggleWatchMouse");
2121
dojo.connect(dojo.doc, "onmouseout", this, "toggleWatchMouse");
2222
}
2323

2424
this.sampleMouse=function(e){
2525
if (!this._rateLimited){
26-
this.addData("sample",this.trimMouseEvent(e));
26+
this.addData("sample",this.trimMouseEvent(e));
2727
this._rateLimited=true;
2828
setTimeout(dojo.hitch(this, function(){
2929
if (this._rateLimited){
@@ -33,7 +33,7 @@ dojox.analytics.plugins.mouseOver = new (function(){
3333
delete this._rateLimited;
3434
}
3535
}), this.mouseSampleDelay);
36-
}
36+
}
3737
this._lastMouseEvent = e;
3838
return e;
3939
}
@@ -74,14 +74,14 @@ dojox.analytics.plugins.mouseOver = new (function(){
7474
//console.log("Attempting: " + i);
7575
var val = e[i];
7676
//console.log("val: " + val); console.log(i + "e of i: " + val);
77-
t[i]=val + '';
77+
t[i]=val + '';
7878
}
7979
break;
80-
default:
80+
default:
8181
//console.log("Skipping: ", i);
8282
break;
8383
}
8484
}
8585
return t;
86-
}
86+
}
8787
})();

analytics/plugins/window.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ dojox.analytics.plugins.window = new (function(){
1717
switch(i){
1818
case "location":
1919
case "console":
20-
data[i]=window[i];
20+
data[i]=window[i];
2121
break;
22-
default:
22+
default:
2323
break;
2424
}
2525
}else{

analytics/profiles/analytics.profile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies = {
1111
"dojox.analytics.plugins.mouseClick",
1212
"dojox.analytics.plugins.idle"
1313
]
14-
}
14+
}
1515
],
1616

1717
prefixes: [

analytics/profiles/analyticsInBase.profile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = {
1212
"dojox.analytics.plugins.mouseClick",
1313
"dojox.analytics.plugins.idle"
1414
]
15-
}
15+
}
1616
],
1717

1818
prefixes: [

0 commit comments

Comments
 (0)