You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/03/11 15:22:36 UTC

[31/50] [abbrv] reset version number add built files, so site doesn't initially have to be built

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/c1950d95/portal/js/usergrid-dev.min.js
----------------------------------------------------------------------
diff --git a/portal/js/usergrid-dev.min.js b/portal/js/usergrid-dev.min.js
index 3217715..2880606 100644
--- a/portal/js/usergrid-dev.min.js
+++ b/portal/js/usergrid-dev.min.js
@@ -1,4 +1,4 @@
-/*! apigee-usergrid@1.0.2 2014-03-06 */
+/*! apigee-usergrid@2.0.36 2014-03-10 */
 (function(exports, global) {
     global["true"] = exports;
     "use strict";
@@ -44,7 +44,7 @@
     AppServices.Directives = angular.module("appservices.directives", []);
     AppServices.Performance = angular.module("appservices.performance", []);
     AppServices.Push = angular.module("appservices.push", []);
-    angular.module("appservices", [ "ngRoute", "ngResource", "ngSanitize", "ui.bootstrap", "angulartics", "angulartics.google.analytics", "appservices.filters", "appservices.services", "appservices.directives", "appservices.constants", "appservices.controllers", "appservices.performance", "appservices.push" ]).config([ "$routeProvider", "$locationProvider", "$sceDelegateProvider", "$analyticsProvider", function($routeProvider, $locationProvider, $sceDelegateProvider, $analyticsProvider) {
+    angular.module("appservices", [ "ngRoute", "ngResource", "ngSanitize", "ui.bootstrap", "appservices.filters", "appservices.services", "appservices.directives", "appservices.constants", "appservices.controllers", "appservices.performance", "appservices.push" ]).config([ "$routeProvider", "$locationProvider", "$sceDelegateProvider", function($routeProvider, $locationProvider, $sceDelegateProvider) {
         $routeProvider.when("/org-overview", {
             templateUrl: "org-overview/org-overview.html",
             controller: "OrgOverviewCtrl"
@@ -146,8 +146,6 @@
         });
         $locationProvider.html5Mode(false).hashPrefix("!");
         $sceDelegateProvider.resourceUrlWhitelist([ "self", "http://apigee-internal-prod.jupiter.apigee.net/**", "http://apigee-internal-prod.mars.apigee.net/**", "https://appservices.apigee.com/**", "https://api.usergrid.com/**" ]);
-        $analyticsProvider.virtualPageviews(false);
-        $analyticsProvider.firstPageview(false);
     } ]);
     AppServices.Controllers.controller("ActivitiesCtrl", [ "ug", "$scope", "$rootScope", "$location", "$route", function(ug, $scope, $rootScope, $location, $route) {
         $scope.$on("app-activities-received", function(evt, data) {
@@ -1201,7 +1199,7 @@
         ITEMS_URL: "global/temp.json"
     });
     "use strict";
-    AppServices.Controllers.controller("PageCtrl", [ "ug", "utility", "$scope", "$rootScope", "$location", "$routeParams", "$q", "$route", "$log", "$analytics", function(ug, utility, $scope, $rootScope, $location, $routeParams, $q, $route, $log, $analytics) {
+    AppServices.Controllers.controller("PageCtrl", [ "ug", "utility", "$scope", "$rootScope", "$location", "$routeParams", "$q", "$route", "$log", "$analytics", function(ug, utility, $scope, $rootScope, $location, $routeParams, $q, $route, $log) {
         var initScopeVariables = function() {
             $scope.loadingText = "Loading...";
             $scope.use_sso = false;
@@ -1467,19 +1465,12 @@
         $scope.$on("request-times-slow", function(evt, averageRequestTimes) {
             $rootScope.$broadcast("alert", "info", "We are experiencing performance issues on our server.  Please click Get Help for support if this continues.");
         });
-        var lastPage = "";
         $scope.$on("$routeChangeSuccess", function() {
             verifyUser();
             $scope.showDemoBar = $location.path().slice(0, "/performance".length) === "/performance";
             if (!$scope.showDemoBar) {
                 $rootScope.demoData = false;
             }
-            setTimeout(function() {
-                lastPage = "";
-            }, 50);
-            var path = window.location.pathname.replace("index-debug.html", "");
-            lastPage === "" && $analytics.pageTrack((path + $location.path()).replace("//", "/"));
-            lastPage = $location.path();
         });
         $scope.$on("applications-received", function(event, applications) {
             $scope.applications = applications;