{"action":"created","issue":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/980","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/980/labels{/name}","comments_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/980/comments","events_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/980/events","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/980","id":125078243,"number":980,"title":"[2.0] minified scripts fail to initialize","user":{"login":"boushley","id":101239,"avatar_url":"https://avatars.githubusercontent.com/u/101239?v=3","gravatar_id":"","url":"https://api.github.com/users/boushley","html_url":"https://github.com/boushley","followers_url":"https://api.github.com/users/boushley/followers","following_url":"https://api.github.com/users/boushley/following{/other_user}","gists_url":"https://api.github.com/users/boushley/gists{/gist_id}","starred_url":"https://api.github.com/users/boushley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boushley/subscriptions","organizations_url":"https://api.github.com/users/boushley/orgs","repos_url":"https://api.github.com/users/boushley/repos","events_url":"https://api.github.com/users/boushley/events{/privacy}","received_events_url":"https://api.github.com/users/boushley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/labels/Pri-Critical","name":"Pri-Critical","color":"ff0000"}],"state":"open","locked":false,"assignee":{"login":"AkamaiDASH","id":7864462,"avatar_url":"https://avatars.githubusercontent.com/u/7864462?v=3","gravatar_id":"","url":"https://api.github.com/users/AkamaiDASH","html_url":"https://github.com/AkamaiDASH","followers_url":"https://api.github.com/users/AkamaiDASH/followers","following_url":"https://api.github.com/users/AkamaiDASH/following{/other_user}","gists_url":"https://api.github.com/users/AkamaiDASH/gists{/gist_id}","starred_url":"https://api.github.com/users/AkamaiDASH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkamaiDASH/subscriptions","organizations_url":"https://api.github.com/users/AkamaiDASH/orgs","repos_url":"https://api.github.com/users/AkamaiDASH/repos","events_url":"https://api.github.com/users/AkamaiDASH/events{/privacy}","received_events_url":"https://api.github.com/users/AkamaiDASH/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/milestones/8","html_url":"https://github.com/Dash-Industry-Forum/dash.js/milestones/2.0.0","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/milestones/8/labels","id":1483431,"number":8,"title":"2.0.0","description":"The first release of the refactored code, featuring ES6, modularization, simplified scheduling and new adaption algorithms. ","creator":{"login":"wilaw","id":2762250,"avatar_url":"https://avatars.githubusercontent.com/u/2762250?v=3","gravatar_id":"","url":"https://api.github.com/users/wilaw","html_url":"https://github.com/wilaw","followers_url":"https://api.github.com/users/wilaw/followers","following_url":"https://api.github.com/users/wilaw/following{/other_user}","gists_url":"https://api.github.com/users/wilaw/gists{/gist_id}","starred_url":"https://api.github.com/users/wilaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilaw/subscriptions","organizations_url":"https://api.github.com/users/wilaw/orgs","repos_url":"https://api.github.com/users/wilaw/repos","events_url":"https://api.github.com/users/wilaw/events{/privacy}","received_events_url":"https://api.github.com/users/wilaw/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":0,"state":"open","created_at":"2016-01-04T20:47:38Z","updated_at":"2016-01-12T19:28:59Z","due_on":"2016-01-29T08:00:00Z","closed_at":null},"comments":5,"created_at":"2016-01-05T23:42:51Z","updated_at":"2016-01-13T01:40:13Z","closed_at":null,"body":"There seems to be a problem with the minified assets.\r\n\r\nChange the reference player [index.html](https://github.com/Dash-Industry-Forum/dash.js/blob/acf7d17caa28b765dd8b34a7a43259ca69133efa/samples/dash-if-reference-player/index.html#L42) to reference `.min` instead of `.debug`\r\n\r\nIf you load the page now you get an error along the lines of:\r\n\r\n```\r\nangular.min.js:62 TypeError: xb.initialize is not a function\r\n    at fb (MediaCapability.js:42)\r\n    at Object.b [as initialize] (MediaCapability.js:42)\r\n    at new <anonymous> (main.js:562)\r\n    at d (angular.min.js:28)\r\n    at Object.instantiate (angular.min.js:28)\r\n    at angular.min.js:52\r\n    at angular.min.js:43\r\n    at m (angular.min.js:6)\r\n    at i (angular.min.js:43)\r\n    at e (angular.min.js:39)\r\n```\r\n\r\nNote that the [source maps are also broken](https://github.com/Dash-Industry-Forum/dash.js/issues/977)  so those references to \"MediaCapability\" are clearly wrong.\r\n\r\nIf you just run these two lines of code you get the same error:\r\n\r\n```\r\np = MediaPlayer().create()\r\np.initialize() // This call blows up. p.initalize is a function but something blows up\r\n```\r\n\r\nNote that if you load the `.debug` versions of the code, or the built scripts before uglify runs the code works fine."},"comment":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/comments/171125297","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/980#issuecomment-171125297","issue_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/980","id":171125297,"user":{"login":"AkamaiDASH","id":7864462,"avatar_url":"https://avatars.githubusercontent.com/u/7864462?v=3","gravatar_id":"","url":"https://api.github.com/users/AkamaiDASH","html_url":"https://github.com/AkamaiDASH","followers_url":"https://api.github.com/users/AkamaiDASH/followers","following_url":"https://api.github.com/users/AkamaiDASH/following{/other_user}","gists_url":"https://api.github.com/users/AkamaiDASH/gists{/gist_id}","starred_url":"https://api.github.com/users/AkamaiDASH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkamaiDASH/subscriptions","organizations_url":"https://api.github.com/users/AkamaiDASH/orgs","repos_url":"https://api.github.com/users/AkamaiDASH/repos","events_url":"https://api.github.com/users/AkamaiDASH/events{/privacy}","received_events_url":"https://api.github.com/users/AkamaiDASH/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T01:40:13Z","updated_at":"2016-01-13T01:40:13Z","body":"I think we can check out es6 symbols since we babel tans-pile the code anyway to es5 "}}