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 /js | |
| parent | f72a94ae2879ebfc5206dd40d5db175e13113850 (diff) | |
| download | bootstrap-80cb760fac507ce207a6174f8886417d32d4b5ed.tar.xz bootstrap-80cb760fac507ce207a6174f8886417d32d4b5ed.zip | |
animate -> animation
Diffstat (limited to 'js')
| -rw-r--r-- | js/README.md | 4 | ||||
| -rw-r--r-- | js/bootstrap-twipsy.js | 4 |
2 files changed, 4 insertions, 4 deletions
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' |
