Skip to content

Commit

Permalink
release 0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Oct 5, 2017
1 parent 9dc42ba commit 3509acf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions release/angular-ui-router.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* State-based routing for AngularJS
* @version v0.4.1
* @version v0.4.3
* @link http://angular-ui.github.com/
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
Expand Down Expand Up @@ -3467,7 +3467,7 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
return $q.reject(error);
});

transition.catch(angular.noop);
silenceUncaughtInPromise(transition);
return transition;
};

Expand Down Expand Up @@ -3514,7 +3514,7 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {

return !params || objectKeys(params).reduce(function(acc, key) {
var paramDef = state.params[key];
return acc && !paramDef || paramDef.type.equals($stateParams[key], params[key]);
return acc && (!paramDef || paramDef.type.equals($stateParams[key], params[key]));
}, true);
};

Expand Down Expand Up @@ -4681,4 +4681,4 @@ function $IncludedByStateFilter($state) {
angular.module('ui.router.state')
.filter('isState', $IsStateFilter)
.filter('includedByState', $IncludedByStateFilter);
})(window, window.angular);
})(window, window.angular);
Loading

0 comments on commit 3509acf

Please sign in to comment.