Skip to content

Commit 91cb91e

Browse files
committed
upgrade angular to 1.0.1
1 parent cead16d commit 91cb91e

14 files changed

+85
-83
lines changed

app/lib/angular/angular-cookies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.0.0
2+
* @license AngularJS v1.0.1
33
* (c) 2010-2012 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

app/lib/angular/angular-cookies.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
AngularJS v1.0.0
2+
AngularJS v1.0.1
33
(c) 2010-2012 Google, Inc. http://angularjs.org
44
License: MIT
55
*/

app/lib/angular/angular-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.0.0
2+
* @license AngularJS v1.0.1
33
* (c) 2010-2012 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

app/lib/angular/angular-loader.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
AngularJS v1.0.0
2+
AngularJS v1.0.1
33
(c) 2010-2012 Google, Inc. http://angularjs.org
44
License: MIT
55
*/

app/lib/angular/angular-resource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.0.0
2+
* @license AngularJS v1.0.1
33
* (c) 2010-2012 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

app/lib/angular/angular-resource.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/lib/angular/angular-sanitize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.0.0
2+
* @license AngularJS v1.0.1
33
* (c) 2010-2012 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

app/lib/angular/angular-sanitize.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/lib/angular/angular.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.0.0
2+
* @license AngularJS v1.0.1
33
* (c) 2010-2012 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/
@@ -1247,11 +1247,11 @@ function setupModuleLoader(window) {
12471247
* - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
12481248
*/
12491249
var version = {
1250-
full: '1.0.0', // all of these placeholder strings will be replaced by rake's
1250+
full: '1.0.1', // all of these placeholder strings will be replaced by rake's
12511251
major: 1, // compile task
12521252
minor: 0,
1253-
dot: 0,
1254-
codeName: 'temporal-domination'
1253+
dot: 1,
1254+
codeName: 'thorium-shielding'
12551255
};
12561256

12571257

@@ -3030,6 +3030,7 @@ function Browser(window, document, $log, $sniffer) {
30303030
self.url = function(url, replace) {
30313031
// setter
30323032
if (url) {
3033+
if (lastBrowserUrl == url) return;
30333034
lastBrowserUrl = url;
30343035
if ($sniffer.history) {
30353036
if (replace) history.replaceState(null, '', url);
@@ -5354,8 +5355,8 @@ function $LocationProvider(){
53545355

53555356
// traverse the DOM up to find first A tag
53565357
while (lowercase(elm[0].nodeName) !== 'a') {
5357-
if (elm[0] === $rootElement[0]) return;
5358-
elm = elm.parent();
5358+
// ignore rewriting if no A tag (reached root element, or no parent - removed from document)
5359+
if (elm[0] === $rootElement[0] || !(elm = elm.parent())[0]) return;
53595360
}
53605361

53615362
var absHref = elm.prop('href'),

app/lib/angular/angular.min.js

Lines changed: 60 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)