]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
animate -> animation
authorJacob Thornton <jacobthornton@gmail.com>
Wed, 21 Dec 2011 21:29:12 +0000 (13:29 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Wed, 21 Dec 2011 21:29:12 +0000 (13:29 -0800)
docs/javascript.html
js/README.md
js/bootstrap-twipsy.js

index 8a9a203e749f4dce329d9e193475c5ad8daebfe8..8dc3ba9d8d424d85a863444b031a0d007ba4322b 100644 (file)
@@ -579,7 +579,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
             </thead>
             <tbody>
              <tr>
-               <td>animate</td>
+               <td>animation</td>
                <td>boolean</td>
                <td>true</td>
                <td>apply a css fade transition to the tooltip</td>
@@ -669,7 +669,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
             </thead>
             <tbody>
              <tr>
-               <td>animate</td>
+               <td>animation</td>
                <td>boolean</td>
                <td>true</td>
                <td>apply a css fade transition to the tooltip</td>
index 04dfb75df6f22623af434f16eea502442101881b..0d8d163a28bcbdab5e06d8fecb65f4f345bc09db 100644 (file)
@@ -83,9 +83,9 @@ Each plugin stores a copy of the invoked class on an object. This class instance
 
 Data attributes should take the following form:
 
-- data-*(verb)* - defines main interaction
+- data-{{verb}}={{plugin}} - defines main interaction
 - data-target || href^=# - defined on "control" element (if element controls an element other than self)
-- data-*(noun)* - defines class instance options
+- data-{{noun}} - defines class instance options
 
 examples:
 
index 4868671bf38c1ef47a082f9df29a4470078f9b13..018edb97e55434e003e62db890a2912049efb9e0 100644 (file)
         $tip = this.tip()
         this.setContent()
 
-        if (this.options.animate) {
+        if (this.options.animation) {
           $tip.addClass('fade')
         }
 
   $.fn.twipsy.Constructor = Twipsy
 
   $.fn.twipsy.defaults = {
-    animate: true
+    animation: true
   , delay: 0
   , selector: false
   , placement: 'above'