Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-06-03 04:57:36 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-06-03 04:57:36 +0400
commit037107480de9dd11095553ee409cbc748b5c7a68 (patch)
treed0003bcebd217a107e5a05e0d1a9a8641c610e26 /js
parentf836473129819c2e348f821ed268451b9b8bf2e4 (diff)
remove isHTML support
Diffstat (limited to 'js')
-rw-r--r--js/tests/unit/bootstrap-tooltip.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/js/tests/unit/bootstrap-tooltip.js b/js/tests/unit/bootstrap-tooltip.js
index 7b0c10de00..51e03486e6 100644
--- a/js/tests/unit/bootstrap-tooltip.js
+++ b/js/tests/unit/bootstrap-tooltip.js
@@ -128,28 +128,4 @@ $(function () {
}, 200)
})
- test("should detect if title string is html or text: foo", function () {
- ok(!$.fn.tooltip.Constructor.prototype.isHTML('foo'), 'correctly detected html')
- })
-
- test("should detect if title string is html or text: &amp;lt;foo&amp;gt;", function () {
- ok(!$.fn.tooltip.Constructor.prototype.isHTML('&lt;foo&gt;'), 'correctly detected html')
- })
-
- test("should detect if title string is html or text: &lt;div>foo&lt;/div>", function () {
- ok($.fn.tooltip.Constructor.prototype.isHTML('<div>foo</div>'), 'correctly detected html')
- })
-
- test("should detect if title string is html or text: asdfa&lt;div>foo&lt;/div>asdfasdf", function () {
- ok($.fn.tooltip.Constructor.prototype.isHTML('asdfa<div>foo</div>asdfasdf'), 'correctly detected html')
- })
-
- test("should detect if title string is html or text: document.createElement('div')", function () {
- ok($.fn.tooltip.Constructor.prototype.isHTML(document.createElement('div')), 'correctly detected html')
- })
-
- test("should detect if title string is html or text: $('&lt;div />)", function () {
- ok($.fn.tooltip.Constructor.prototype.isHTML($('<div></div>')), 'correctly detected html')
- })
-
})