Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make all _gaq config options global (window)

  • Loading branch information...
commit cb1c87227b3b80ac009614f307b5cf8d58813853 1 parent 0359289
Dan Shearmur authored
Showing with 17 additions and 17 deletions.
  1. +1 −1  architecture-examples/agilityjs/components/todomvc-common/base.js
  2. +1 −1  architecture-examples/angularjs-perf/components/todomvc-common/base.js
  3. +1 −1  architecture-examples/angularjs/components/todomvc-common/base.js
  4. +1 −1  architecture-examples/backbone/components/todomvc-common/base.js
  5. +1 −1  architecture-examples/canjs/components/todomvc-common/base.js
  6. +1 −1  architecture-examples/dart/web/assets/base.js
  7. +1 −1  architecture-examples/emberjs/components/todomvc-common/base.js
  8. +1 −1  architecture-examples/jquery/components/todomvc-common/base.js
  9. +1 −1  architecture-examples/knockoutjs/components/todomvc-common/base.js
  10. +1 −1  architecture-examples/spine/components/todomvc-common/base.js
  11. +1 −1  assets/base.js
  12. +1 −1  dependency-examples/backbone_require/components/todomvc-common/base.js
  13. +1 −1  labs/architecture-examples/backbone_marionette/components/todomvc-common/base.js
  14. +1 −1  labs/architecture-examples/meteor/client/lib/base.js
  15. +1 −1  labs/architecture-examples/socketstream/client/code/libs/base.js
  16. +1 −1  labs/dependency-examples/angularjs_require/components/todomvc-common/base.js
  17. +1 −1  labs/dependency-examples/thorax_lumbar/public/base.js
View
2  architecture-examples/agilityjs/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  architecture-examples/angularjs-perf/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  architecture-examples/angularjs/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  architecture-examples/backbone/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  architecture-examples/canjs/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  architecture-examples/dart/web/assets/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  architecture-examples/emberjs/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  architecture-examples/jquery/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  architecture-examples/knockoutjs/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  architecture-examples/spine/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  assets/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  dependency-examples/backbone_require/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  labs/architecture-examples/backbone_marionette/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  labs/architecture-examples/meteor/client/lib/base.js
@@ -2,6 +2,6 @@
'use strict';
if ( location.hostname === 'todomvc.com' ) {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
})( window );
View
2  labs/architecture-examples/socketstream/client/code/libs/base.js
@@ -2,6 +2,6 @@
'use strict';
if ( location.hostname === 'todomvc.com' ) {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
})( window );
View
2  labs/dependency-examples/angularjs_require/components/todomvc-common/base.js
@@ -2,7 +2,7 @@
'use strict';
if (location.hostname === 'todomvc.com') {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
View
2  labs/dependency-examples/thorax_lumbar/public/base.js
@@ -2,7 +2,7 @@
'use strict';
if ( location.hostname === 'todomvc.com' ) {
- var _gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
+ window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
})( window );
Please sign in to comment.
Something went wrong with that request. Please try again.