You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/unit/core.js
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ $(function() {
54
54
assert.deepEqual(div.powerTip('toggle'),div,'original jQuery object returned for toggle');
55
55
assert.deepEqual(div.powerTip('resetPosition'),div,'original jQuery object returned for resetPosition');
56
56
assert.deepEqual(div.powerTip('destroy'),div,'original jQuery object returned for destroy');
57
-
assert.ok(!element.attr('title'),'title attribute was removed');
57
+
assert.notOk(element.attr('title'),'title attribute was removed');
58
58
assert.ok(element.data(DATA_DISPLAYCONTROLLER),'new DisplayController created and added to data');
59
59
});
60
60
@@ -213,28 +213,28 @@ $(function() {
213
213
214
214
// attributes
215
215
assert.strictEqual(element.attr('title'),'This is the tooltip text','destory method rolled back the title attribute');
216
-
assert.ok(!element.data(DATA_POWERTIP),'destroy method removed powertip data attribute');
216
+
assert.notOk(element.data(DATA_POWERTIP),'destroy method removed powertip data attribute');
217
217
assert.strictEqual(elementDataAttr.data(DATA_POWERTIP),'This is the tooltip text','destroy method did not remove manually set powertip data attribute');
0 commit comments