]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove isHTML support
authorJacob Thornton <jacobthornton@gmail.com>
Sun, 3 Jun 2012 00:57:36 +0000 (17:57 -0700)
committerJacob Thornton <jacobthornton@gmail.com>
Sun, 3 Jun 2012 00:57:36 +0000 (17:57 -0700)
js/tests/unit/bootstrap-tooltip.js

index 7b0c10de002c02e610236f808250ed90e5c72f71..51e03486e65bd0d939b223e2658803e88a8b0b80 100644 (file)
@@ -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')
-      })
-
 })