Skip to content
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.

Commit

Permalink
fix(future): commented out debug code
Browse files Browse the repository at this point in the history
closes #156
  • Loading branch information
christopherthielen committed Jun 9, 2015
1 parent f22c543 commit b53c1ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/future.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

var otherwiseFunc = [ '$log', '$location',
function otherwiseFunc($log, $location) {
$log.debug("Unable to map " + $location.path());
//$log.debug("Unable to map " + $location.path());
}];

function futureState_otherwise($injector, $location) {
Expand Down Expand Up @@ -212,7 +212,7 @@
function init() {
$rootScope.$on("$stateNotFound", function futureState_notFound(event, unfoundState, fromState, fromParams) {
if (lazyloadInProgress) return;
$log.debug("event, unfoundState, fromState, fromParams", event, unfoundState, fromState, fromParams);
//$log.debug("event, unfoundState, fromState, fromParams", event, unfoundState, fromState, fromParams);

var futureState = findFutureState($state, { name: unfoundState.to });
if (!futureState) return;
Expand Down

0 comments on commit b53c1ef

Please sign in to comment.