aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/bootstrap.js
diff options
context:
space:
mode:
authorfat <[email protected]>2013-02-05 22:30:54 -0800
committerfat <[email protected]>2013-02-05 22:30:54 -0800
commit3b56227553f40cc567e161c68c64f1e315fd5241 (patch)
tree0ecd914f0c395b277dc46300733d8bc05ab4802e /docs/assets/js/bootstrap.js
parent481428154084a9fafd31d8654157d6f6f78231d0 (diff)
parentaccfdaafdbfc172f4d8358bbab820a9862bd8eb9 (diff)
downloadbootstrap-3b56227553f40cc567e161c68c64f1e315fd5241.tar.xz
bootstrap-3b56227553f40cc567e161c68c64f1e315fd5241.zip
Merge branch '2.3.0-wip' of github.com:twitter/bootstrap into 2.3.0-wip
Conflicts: docs/assets/js/bootstrap.min.js
Diffstat (limited to 'docs/assets/js/bootstrap.js')
-rw-r--r--docs/assets/js/bootstrap.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js
index 99dbc7488..bd4979f13 100644
--- a/docs/assets/js/bootstrap.js
+++ b/docs/assets/js/bootstrap.js
@@ -1109,7 +1109,7 @@
}
, getOptions: function (options) {
- options = $.extend({}, $.fn[this.type].defaults, options, this.$element.data())
+ options = $.extend({}, $.fn[this.type].defaults, this.$element.data(), options)
if (options.delay && typeof options.delay == 'number') {
options.delay = {
@@ -1394,7 +1394,7 @@
}(window.jQuery);
/* ===========================================================
- * bootstrap-popover.js v2.2.2
+ * bootstrap-popover.js v2.3.0
* http://twitter.github.com/bootstrap/javascript.html#popovers
* ===========================================================
* Copyright 2012 Twitter, Inc.
@@ -1453,8 +1453,8 @@
, $e = this.$element
, o = this.options
- content = $e.attr('data-content')
- || (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
+ content = (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
+ || $e.attr('data-content')
return content
}
@@ -1506,7 +1506,8 @@
return this
}
-}(window.jQuery);/* =============================================================
+}(window.jQuery);
+/* =============================================================
* bootstrap-scrollspy.js v2.3.0
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
* =============================================================