1
0
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:
Brandon Casey
2017-01-19 16:01:56 -05:00
committed by Gary Katsevman
parent 524f868e31
commit b387437aed
22 changed files with 294 additions and 1879 deletions

View File

@ -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');
});