angularjs-rails 1.0.1 → 1.0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  module AngularJS
2
2
  module Rails
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.1.1"
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license AngularJS v1.0.0
2
+ * @license AngularJS v1.0.1
3
3
  * (c) 2010-2012 Google, Inc. http://angularjs.org
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license AngularJS v1.0.0
2
+ * @license AngularJS v1.0.1
3
3
  * (c) 2010-2012 Google, Inc. http://angularjs.org
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license AngularJS v1.0.0
2
+ * @license AngularJS v1.0.1
3
3
  * (c) 2010-2012 Google, Inc. http://angularjs.org
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license AngularJS v1.0.0
2
+ * @license AngularJS v1.0.1
3
3
  * (c) 2010-2012 Google, Inc. http://angularjs.org
4
4
  * License: MIT
5
5
  */
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * @license AngularJS v1.0.0
3
+ * @license AngularJS v1.0.1
4
4
  * (c) 2010-2012 Google, Inc. http://angularjs.org
5
5
  * License: MIT
6
6
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license AngularJS v1.0.0
2
+ * @license AngularJS v1.0.1
3
3
  * (c) 2010-2012 Google, Inc. http://angularjs.org
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license AngularJS v1.0.0
2
+ * @license AngularJS v1.0.1
3
3
  * (c) 2010-2012 Google, Inc. http://angularjs.org
4
4
  * License: MIT
5
5
  */
@@ -9404,7 +9404,7 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
9404
9404
 
9405
9405
  })( window );
9406
9406
  /**
9407
- * @license AngularJS v1.0.0
9407
+ * @license AngularJS v1.0.1
9408
9408
  * (c) 2010-2012 Google, Inc. http://angularjs.org
9409
9409
  * License: MIT
9410
9410
  */
@@ -10652,11 +10652,11 @@ function setupModuleLoader(window) {
10652
10652
  * - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
10653
10653
  */
10654
10654
  var version = {
10655
- full: '1.0.0', // all of these placeholder strings will be replaced by rake's
10655
+ full: '1.0.1', // all of these placeholder strings will be replaced by rake's
10656
10656
  major: 1, // compile task
10657
10657
  minor: 0,
10658
- dot: 0,
10659
- codeName: 'temporal-domination'
10658
+ dot: 1,
10659
+ codeName: 'thorium-shielding'
10660
10660
  };
10661
10661
 
10662
10662
 
@@ -12435,6 +12435,7 @@ function Browser(window, document, $log, $sniffer) {
12435
12435
  self.url = function(url, replace) {
12436
12436
  // setter
12437
12437
  if (url) {
12438
+ if (lastBrowserUrl == url) return;
12438
12439
  lastBrowserUrl = url;
12439
12440
  if ($sniffer.history) {
12440
12441
  if (replace) history.replaceState(null, '', url);
@@ -14759,8 +14760,8 @@ function $LocationProvider(){
14759
14760
 
14760
14761
  // traverse the DOM up to find first A tag
14761
14762
  while (lowercase(elm[0].nodeName) !== 'a') {
14762
- if (elm[0] === $rootElement[0]) return;
14763
- elm = elm.parent();
14763
+ // ignore rewriting if no A tag (reached root element, or no parent - removed from document)
14764
+ if (elm[0] === $rootElement[0] || !(elm = elm.parent())[0]) return;
14764
14765
  }
14765
14766
 
14766
14767
  var absHref = elm.prop('href'),
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license AngularJS v1.0.0
2
+ * @license AngularJS v1.0.1
3
3
  * (c) 2010-2012 Google, Inc. http://angularjs.org
4
4
  * License: MIT
5
5
  */
@@ -1247,11 +1247,11 @@ function setupModuleLoader(window) {
1247
1247
  * - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
1248
1248
  */
1249
1249
  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
1251
1251
  major: 1, // compile task
1252
1252
  minor: 0,
1253
- dot: 0,
1254
- codeName: 'temporal-domination'
1253
+ dot: 1,
1254
+ codeName: 'thorium-shielding'
1255
1255
  };
1256
1256
 
1257
1257
 
@@ -3030,6 +3030,7 @@ function Browser(window, document, $log, $sniffer) {
3030
3030
  self.url = function(url, replace) {
3031
3031
  // setter
3032
3032
  if (url) {
3033
+ if (lastBrowserUrl == url) return;
3033
3034
  lastBrowserUrl = url;
3034
3035
  if ($sniffer.history) {
3035
3036
  if (replace) history.replaceState(null, '', url);
@@ -5354,8 +5355,8 @@ function $LocationProvider(){
5354
5355
 
5355
5356
  // traverse the DOM up to find first A tag
5356
5357
  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;
5359
5360
  }
5360
5361
 
5361
5362
  var absHref = elm.prop('href'),
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license AngularJS v1.0.0
2
+ * @license AngularJS v1.0.1
3
3
  * (c) 2010-2012 Google, Inc. http://angularjs.org
4
4
  * License: MIT
5
5
  */
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angularjs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: