mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Updated tests to test type union in content
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
// Type definition tests for jQuery Tooltipster 3.0.5
|
||||
// Project: https://github.com/iamceege/tooltipster
|
||||
// Definitions by: Patrick Magee <https://github.com/pjmagee/>
|
||||
// Definitions by: Patrick Magee <https://github.com/pjmagee/>, Dmitry Pesterev <https://github.com/VorobeY1326/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// Tests taken from the getting started section of the Tooltipster website
|
||||
|
||||
@@ -13,6 +13,10 @@ $(document).ready(function () {
|
||||
$('#my-tooltip').tooltipster({
|
||||
content: $('<span><img src="my-image.png" /> <strong>This text is in bold case !</strong></span>')
|
||||
});
|
||||
|
||||
$('#my-tooltip').tooltipster({
|
||||
content: 'string test'
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -191,4 +195,4 @@ $(document).ready(function () {
|
||||
});
|
||||
});
|
||||
|
||||
$('#my-special-tooltip').tooltipster('content', 'My new content');
|
||||
$('#my-special-tooltip').tooltipster('content', 'My new content');
|
||||
|
||||
Reference in New Issue
Block a user