Skip to content

Commit

Permalink
Moved all imports to the top of the video.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
heff committed Apr 28, 2015
1 parent 344b131 commit fe27a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import * as setup from './setup';
import Component from './component';
import * as Lib from './lib';
import * as Util from './util.js';
import Player from './player';
import extendsFn from './extends.js';

if (typeof HTMLVideoElement === 'undefined') {
document.createElement('video');
Expand All @@ -35,10 +37,8 @@ videojs.TOUCH_ENABLED = Lib.TOUCH_ENABLED;
videojs.util = Util;

// Probably want to keep this one for 5.0?
import Player from './player';
videojs.players = Player.players;

import extendsFn from './extends.js';
videojs.extends = extendsFn;

// REMOVING: We probably should not include this in 5.0 thought it would make it
Expand Down

0 comments on commit fe27a09

Please sign in to comment.