diff options
| author | Jacob Thornton <[email protected]> | 2011-12-21 13:29:12 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2011-12-21 13:29:12 -0800 |
| commit | 80cb760fac507ce207a6174f8886417d32d4b5ed (patch) | |
| tree | 8925f47ed322ced655c911b367dbb9be3c39d353 | |
| parent | f72a94ae2879ebfc5206dd40d5db175e13113850 (diff) | |
| download | bootstrap-80cb760fac507ce207a6174f8886417d32d4b5ed.tar.xz bootstrap-80cb760fac507ce207a6174f8886417d32d4b5ed.zip | |
animate -> animation
| -rw-r--r-- | docs/javascript.html | 4 | ||||
| -rw-r--r-- | js/README.md | 4 | ||||
| -rw-r--r-- | js/bootstrap-twipsy.js | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 8a9a203e7..8dc3ba9d8 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -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> diff --git a/js/README.md b/js/README.md index 04dfb75df..0d8d163a2 100644 --- a/js/README.md +++ b/js/README.md @@ -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: diff --git a/js/bootstrap-twipsy.js b/js/bootstrap-twipsy.js index 4868671bf..018edb97e 100644 --- a/js/bootstrap-twipsy.js +++ b/js/bootstrap-twipsy.js @@ -109,7 +109,7 @@ $tip = this.tip() this.setContent() - if (this.options.animate) { + if (this.options.animation) { $tip.addClass('fade') } @@ -250,7 +250,7 @@ $.fn.twipsy.Constructor = Twipsy $.fn.twipsy.defaults = { - animate: true + animation: true , delay: 0 , selector: false , placement: 'above' |
