mirror of
https://github.com/videojs/video.js.git
synced 2025-07-17 01:42:41 +02:00
feat: remove flash tech (#3956)
Remove Flash Tech from core. Use videojs-flash if flash is needed. Also, update DOM method names. BREAKING CHANGE: remove flash tech from core.
This commit is contained in:
committed by
Gary Katsevman
parent
524f868e31
commit
b387437aed
@ -2,6 +2,7 @@
|
||||
import window from 'global/window';
|
||||
import Component from '../../src/js/component.js';
|
||||
import * as Dom from '../../src/js/utils/dom.js';
|
||||
import * as DomData from '../../src/js/utils/dom-data';
|
||||
import * as Events from '../../src/js/utils/events.js';
|
||||
import * as browser from '../../src/js/utils/browser.js';
|
||||
import document from 'global/document';
|
||||
@ -294,7 +295,7 @@ QUnit.test('should dispose of component and children', function(assert) {
|
||||
return true;
|
||||
});
|
||||
const el = comp.el();
|
||||
const data = Dom.getElData(el);
|
||||
const data = DomData.getData(el);
|
||||
|
||||
let hasDisposed = false;
|
||||
let bubbles = null;
|
||||
@ -312,7 +313,7 @@ QUnit.test('should dispose of component and children', function(assert) {
|
||||
assert.ok(!comp.el(), 'component element was deleted');
|
||||
assert.ok(!child.children(), 'child children were deleted');
|
||||
assert.ok(!child.el(), 'child element was deleted');
|
||||
assert.ok(!Dom.hasElData(el), 'listener data nulled');
|
||||
assert.ok(!DomData.hasData(el), 'listener data nulled');
|
||||
assert.ok(!Object.getOwnPropertyNames(data).length,
|
||||
'original listener data object was emptied');
|
||||
});
|
||||
|
Reference in New Issue
Block a user