Skip to content

Commit

Permalink
Fixing grunt file
Browse files Browse the repository at this point in the history
  • Loading branch information
MeoMix committed Apr 23, 2015
1 parent 833e04c commit 4bad75a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ module.exports = function(grunt) {
// Don't remove key when testing because server will throw CORS errors.
return isDebug ? match : '';
}
},{
// Transform inject javascript to reference uglified/concat versions for production.
from: '"js": ["js/thirdParty/lodash.js", "js/thirdParty/jquery.js", "js/inject/youTubeIFrameInject.js"]',
to: '"js": ["js/inject/youTubeIFrameInject.js"]'
}, {
from: '"js": ["js/thirdParty/lodash.js", "js/thirdParty/jquery.js", "js/inject/youTubeInject.js"]',
to: '"js": ["js/inject/youTubeInject.js"]'
Expand Down
1 change: 1 addition & 0 deletions src/js/inject/youTubeIFrameInject.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// and attempts to listen for interesting events on the <video> itself. If the <video> element
// is not found then it will poll for its existence for a few seconds before emitting an error.
document.addEventListener('DOMContentLoaded', function() {
'use strict';
// Record any errors emitted by YouTube
this.errors = [];
// The port used for external communication w/ the extension.
Expand Down

0 comments on commit 4bad75a

Please sign in to comment.