summaryrefslogtreecommitdiffstats
path: root/js/vendor/angular-route/angular-route.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-05-28 17:25:33 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-05-28 17:25:33 +0200
commit67f1bab200637ce78f5baefb9e42ef6ef59a542f (patch)
tree350d7742c891f0ad54fb354f0765e66629b51a5f /js/vendor/angular-route/angular-route.js
parentddb0d5020f4deccc2aec9d959ea434828e60a699 (diff)
downgrade angular because of regressions
Diffstat (limited to 'js/vendor/angular-route/angular-route.js')
-rw-r--r--js/vendor/angular-route/angular-route.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/js/vendor/angular-route/angular-route.js b/js/vendor/angular-route/angular-route.js
index 67e04fcc1..68150e7ae 100644
--- a/js/vendor/angular-route/angular-route.js
+++ b/js/vendor/angular-route/angular-route.js
@@ -1,6 +1,6 @@
/**
- * @license AngularJS v1.4.0
- * (c) 2010-2015 Google, Inc. http://angularjs.org
+ * @license AngularJS v1.3.15
+ * (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
@@ -78,8 +78,8 @@ function $RouteProvider() {
* - `controller` – `{(string|function()=}` – Controller fn that should be associated with
* newly created scope or the name of a {@link angular.Module#controller registered
* controller} if passed as a string.
- * - `controllerAs` – `{string=}` – An identifier name for a reference to the controller.
- * If present, the controller will be published to scope under the `controllerAs` name.
+ * - `controllerAs` – `{string=}` – A controller alias name. If present the controller will be
+ * published to scope under the `controllerAs` name.
* - `template` – `{string=|function()=}` – html template as a string or a function that
* returns an html template as a string which should be used by {@link
* ngRoute.directive:ngView ngView} or {@link ng.directive:ngInclude ngInclude} directives.
@@ -440,11 +440,9 @@ function $RouteProvider() {
* @name $route#$routeUpdate
* @eventType broadcast on root scope
* @description
+ *
* The `reloadOnSearch` property has been set to false, and we are reusing the same
* instance of the Controller.
- *
- * @param {Object} angularEvent Synthetic event object
- * @param {Route} current Current/previous route information.
*/
var forceReload = false,
@@ -608,8 +606,8 @@ function $RouteProvider() {
return $q.all(locals);
}
}).
+ // after route change
then(function(locals) {
- // after route change
if (nextRoute == $route.current) {
if (nextRoute) {
nextRoute.locals = locals;