vendor/assets/javascripts/angular-bootstrap.js in angularjs-rails-1.0.2 vs vendor/assets/javascripts/angular-bootstrap.js in angularjs-rails-1.0.3
- old
+ new
@@ -1,7 +1,7 @@
/**
- * @license AngularJS v1.0.2
+ * @license AngularJS v1.0.3
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
@@ -13,10 +13,10 @@
function ($document, $location, $window) {
var openElement = null, close;
return {
restrict: 'C',
link: function(scope, element, attrs) {
- scope.$watch(function(){return $location.path();}, function() {
+ scope.$watch(function dropdownTogglePathWatch(){return $location.path();}, function dropdownTogglePathWatchAction() {
close && close();
});
element.parent().bind('click', function(event) {
close && close();