angular-ui-bootstrap-rails 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df10b4e8adfc873567fd5682bd8194ba87732ead
4
- data.tar.gz: d967ed8853f054936fd4ac9e482abfc674c70c92
3
+ metadata.gz: 4b7cb71f6327665bf4f94b11f53fc7e7d748b950
4
+ data.tar.gz: b88e861df141341be7a189fc57f021632e0411c5
5
5
  SHA512:
6
- metadata.gz: 4c7c0edd6d0cb906a44d05b2beeb69c5d7e5e24d2fd228da375040cc7ebb14c562ec7b9bae0774502903dc6b65d679c2c33fa92cf9d04738e2a7d211601bd537
7
- data.tar.gz: 239a8bcf18d90786b63878cded102d86008d20f23542c2ab75fca9c492e16d43cd137fa89456f262c2ce843d33e21b0f826b587893b6e4c9858615250ba17971
6
+ metadata.gz: 2f26ca8e2a39eec83605370bdd58d139b3a4fac57bfe51ffffa45ed8c0180d80391e3b2c94823ad14ceb5e65af81b30d641bc7ff3dd1797395a2622ba20673aa
7
+ data.tar.gz: 1e3d8de8fbe481a6ca76bc2eb5f109df033d36fa2afceb54757e6b83c16bd7d41eff3a5e622d9865ebfad4f56e254c1fc0281fa47fff6fb62b49f47ee325b4fb
@@ -1,7 +1,7 @@
1
1
  module AngularUI
2
2
  module Bootstrap
3
3
  module Rails
4
- VERSION = "0.12.0"
4
+ VERSION = "0.12.1"
5
5
  end
6
6
  end
7
7
  end
@@ -2,7 +2,7 @@
2
2
  * angular-ui-bootstrap
3
3
  * http://angular-ui.github.io/bootstrap/
4
4
 
5
- * Version: 0.12.0 - 2014-11-16
5
+ * Version: 0.12.1 - 2015-02-20
6
6
  * License: MIT
7
7
  */
8
8
  angular.module("ui.bootstrap", ["ui.bootstrap.tpls", "ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]);
@@ -2612,14 +2612,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
2612
2612
 
2613
2613
  // Set the initial positioning.
2614
2614
  tooltip.css({ top: 0, left: 0, display: 'block' });
2615
-
2616
- // Now we add it to the DOM because need some info about it. But it's not
2617
- // visible yet anyway.
2618
- if ( appendToBody ) {
2619
- $document.find( 'body' ).append( tooltip );
2620
- } else {
2621
- element.after( tooltip );
2622
- }
2615
+ ttScope.$digest();
2623
2616
 
2624
2617
  positionTooltip();
2625
2618
 
@@ -2659,7 +2652,13 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
2659
2652
  removeTooltip();
2660
2653
  }
2661
2654
  tooltipLinkedScope = ttScope.$new();
2662
- tooltip = tooltipLinker(tooltipLinkedScope, angular.noop);
2655
+ tooltip = tooltipLinker(tooltipLinkedScope, function (tooltip) {
2656
+ if ( appendToBody ) {
2657
+ $document.find( 'body' ).append( tooltip );
2658
+ } else {
2659
+ element.after( tooltip );
2660
+ }
2661
+ });
2663
2662
  }
2664
2663
 
2665
2664
  function removeTooltip() {
@@ -2,7 +2,7 @@
2
2
  * angular-ui-bootstrap
3
3
  * http://angular-ui.github.io/bootstrap/
4
4
 
5
- * Version: 0.12.0 - 2014-11-16
5
+ * Version: 0.12.1 - 2015-02-20
6
6
  * License: MIT
7
7
  */
8
8
  angular.module("ui.bootstrap", ["ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]);
@@ -2611,14 +2611,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
2611
2611
 
2612
2612
  // Set the initial positioning.
2613
2613
  tooltip.css({ top: 0, left: 0, display: 'block' });
2614
-
2615
- // Now we add it to the DOM because need some info about it. But it's not
2616
- // visible yet anyway.
2617
- if ( appendToBody ) {
2618
- $document.find( 'body' ).append( tooltip );
2619
- } else {
2620
- element.after( tooltip );
2621
- }
2614
+ ttScope.$digest();
2622
2615
 
2623
2616
  positionTooltip();
2624
2617
 
@@ -2658,7 +2651,13 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
2658
2651
  removeTooltip();
2659
2652
  }
2660
2653
  tooltipLinkedScope = ttScope.$new();
2661
- tooltip = tooltipLinker(tooltipLinkedScope, angular.noop);
2654
+ tooltip = tooltipLinker(tooltipLinkedScope, function (tooltip) {
2655
+ if ( appendToBody ) {
2656
+ $document.find( 'body' ).append( tooltip );
2657
+ } else {
2658
+ element.after( tooltip );
2659
+ }
2660
+ });
2662
2661
  }
2663
2662
 
2664
2663
  function removeTooltip() {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angular-ui-bootstrap-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Constantin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-29 00:00:00.000000000 Z
11
+ date: 2015-04-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Injects Angular.js UI Bootstrap directives into your asset pipeline.
14
14
  email: chris@chrisconstantin.net