diff --git a/dashboard-ui/bower_components/iron-behaviors/.bower.json b/dashboard-ui/bower_components/iron-behaviors/.bower.json index 17f68b335..db08f2170 100644 --- a/dashboard-ui/bower_components/iron-behaviors/.bower.json +++ b/dashboard-ui/bower_components/iron-behaviors/.bower.json @@ -29,14 +29,14 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "ignore": [], - "homepage": "https://github.com/polymerelements/iron-behaviors", + "homepage": "https://github.com/PolymerElements/iron-behaviors", "_release": "1.0.12", "_resolution": { "type": "version", "tag": "v1.0.12", "commit": "657f526a2382a659cdf4e13be87ecc89261588a3" }, - "_source": "git://github.com/polymerelements/iron-behaviors.git", + "_source": "git://github.com/PolymerElements/iron-behaviors.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-behaviors" + "_originalSource": "PolymerElements/iron-behaviors" } \ No newline at end of file diff --git a/dashboard-ui/scripts/chromecast.js b/dashboard-ui/scripts/chromecast.js index 375888bfe..1256e769f 100644 --- a/dashboard-ui/scripts/chromecast.js +++ b/dashboard-ui/scripts/chromecast.js @@ -34,7 +34,7 @@ 'IDLE': 0, 'ACTIVE': 1, 'WARNING': 2, - 'ERROR': 3, + 'ERROR': 3 }; /** @@ -52,10 +52,11 @@ }; var applicationID = "2D4B1DA3"; - var messageNamespace = 'urn:x-cast:com.connectsdk'; - //var applicationID = "F4EB2E8E"; - //var messageNamespace = 'urn:x-cast:com.google.cast.mediabrowser.v3'; + // This is the beta version used for testing new changes + //applicationID = '27C4EB5B'; + + var messageNamespace = 'urn:x-cast:com.connectsdk'; var CastPlayer = function () { diff --git a/dashboard-ui/scripts/indexpage.js b/dashboard-ui/scripts/indexpage.js index 31af33a6d..5377fef4d 100644 --- a/dashboard-ui/scripts/indexpage.js +++ b/dashboard-ui/scripts/indexpage.js @@ -95,9 +95,10 @@ elem.innerHTML = ''; - var deferred = DeferredBuilder.Deferred(); - deferred.resolve(); - return deferred.promise(); + return new Promise(function (resolve, reject) { + + resolve(); + }); } } diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index dc87861a4..1b1435dbe 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -2098,6 +2098,7 @@ var AppInfo = {}; deps.push('appstorage'); deps.push('scripts/appsettings'); + deps.push('scripts/extensions'); require(deps, function (connectionManagerExports, credentialProviderFactory) { @@ -2247,7 +2248,6 @@ var AppInfo = {}; deps.push('scripts/sync'); deps.push('scripts/backdrops'); deps.push('scripts/librarymenu'); - deps.push('apiclient-deferred'); deps.push('css!css/card.css'); @@ -2270,6 +2270,7 @@ var AppInfo = {}; postInitDependencies.push('scripts/remotecontrol'); postInitDependencies.push('css!css/notifications.css'); postInitDependencies.push('css!css/chromecast.css'); + postInitDependencies.push('apiclient-deferred'); if (Dashboard.isRunningInCordova()) { @@ -2414,7 +2415,6 @@ var AppInfo = {}; initialDependencies.push('browser'); initialDependencies.push('apiclient-store'); - initialDependencies.push('scripts/extensions'); var supportsNativeWebComponents = 'registerElement' in document && 'content' in document.createElement('template');