{"action":"created","issue":{"url":"https://api.github.com/repos/dfcb/BigVideo.js/issues/91","labels_url":"https://api.github.com/repos/dfcb/BigVideo.js/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/dfcb/BigVideo.js/issues/91/comments","events_url":"https://api.github.com/repos/dfcb/BigVideo.js/issues/91/events","html_url":"https://github.com/dfcb/BigVideo.js/issues/91","id":23867543,"number":91,"title":"Need explanation : BigVideo.js and Grunt...","user":{"login":"monkeymonk","id":574338,"avatar_url":"https://avatars.githubusercontent.com/u/574338?v=3","gravatar_id":"","url":"https://api.github.com/users/monkeymonk","html_url":"https://github.com/monkeymonk","followers_url":"https://api.github.com/users/monkeymonk/followers","following_url":"https://api.github.com/users/monkeymonk/following{/other_user}","gists_url":"https://api.github.com/users/monkeymonk/gists{/gist_id}","starred_url":"https://api.github.com/users/monkeymonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkeymonk/subscriptions","organizations_url":"https://api.github.com/users/monkeymonk/orgs","repos_url":"https://api.github.com/users/monkeymonk/repos","events_url":"https://api.github.com/users/monkeymonk/events{/privacy}","received_events_url":"https://api.github.com/users/monkeymonk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-12-06T16:14:47Z","updated_at":"2015-03-16T14:56:36Z","closed_at":null,"body":"Hi there,\r\n\r\nI'm trying to use BigVideo.js in a workflow with grunt...\r\n\r\nBut, and I don't know exactly why, I just have some error (eg. \"Uncaught TypeError: undefined is not a function\")...\r\n\r\nHere the Gruntfile.js uglify section : \r\n````\r\nvideo: {\r\n    files: {\r\n        'js/video.min.js': [\r\n            'packages/jquery-ui/ui/jquery-ui/minified/jquery-ui.min.js',\r\n            'packages/imagesloaded/imagesloaded.js',\r\n            'packages/video.js/video.js',\r\n            'packages/BigVideo.js/lib/bigvideo.js',\r\n        ]\r\n    }\r\n}, // video\r\n````\r\n\r\nThe main script :\r\n````\r\n$('div.background')\r\n.each(function () {\r\n    var $el = $(this), data = $el.data();\r\n\r\n    if (data.src) {\r\n        var BV = new $.BigVideo();\r\n        BV.init();\r\n        BV.show(data.src);\r\n    }\r\n});\r\n````\r\n\r\nDid I miss something ?\r\n\r\nThank's for your help!\r\n\r\nBr,\r\nMk"},"comment":{"url":"https://api.github.com/repos/dfcb/BigVideo.js/issues/comments/81714799","html_url":"https://github.com/dfcb/BigVideo.js/issues/91#issuecomment-81714799","issue_url":"https://api.github.com/repos/dfcb/BigVideo.js/issues/91","id":81714799,"user":{"login":"larsekman","id":124300,"avatar_url":"https://avatars.githubusercontent.com/u/124300?v=3","gravatar_id":"","url":"https://api.github.com/users/larsekman","html_url":"https://github.com/larsekman","followers_url":"https://api.github.com/users/larsekman/followers","following_url":"https://api.github.com/users/larsekman/following{/other_user}","gists_url":"https://api.github.com/users/larsekman/gists{/gist_id}","starred_url":"https://api.github.com/users/larsekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsekman/subscriptions","organizations_url":"https://api.github.com/users/larsekman/orgs","repos_url":"https://api.github.com/users/larsekman/repos","events_url":"https://api.github.com/users/larsekman/events{/privacy}","received_events_url":"https://api.github.com/users/larsekman/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T14:56:36Z","updated_at":"2015-03-16T14:56:36Z","body":"I am not using Bower, but I had this exact same issue. I solved it by downloading EventEmitter.js from https://github.com/Wolfy87/EventEmitter and including it in my project."}}