Commit 71f78cc8 by Torkel Ödegaard

removed comments

parent 5896eee6
...@@ -25,7 +25,6 @@ function (angular, _, $) { ...@@ -25,7 +25,6 @@ function (angular, _, $) {
$scope.onAppEvent('$routeUpdate', function() { $scope.onAppEvent('$routeUpdate', function() {
var urlState = self.getQueryStringState(); var urlState = self.getQueryStringState();
console.log("route updated!");
if (self.needsSync(urlState)) { if (self.needsSync(urlState)) {
self.update(urlState, true); self.update(urlState, true);
} }
......
...@@ -45,7 +45,6 @@ function(angular, _, config) { ...@@ -45,7 +45,6 @@ function(angular, _, config) {
this.init = function() { this.init = function() {
$rootScope.$on("$locationChangeStart", function(event, next) { $rootScope.$on("$locationChangeStart", function(event, next) {
if (self.originalPath === $location.path()) { if (self.originalPath === $location.path()) {
console.log("skipping");
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment