소스 검색

lazy load chromecast script

Luke Pulverenti 10 년 전
부모
커밋
d6d3a5fc24
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      MediaBrowser.WebDashboard/Api/PackageCreator.cs
  2. 3 0
      MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

+ 0 - 1
MediaBrowser.WebDashboard/Api/PackageCreator.cs

@@ -548,7 +548,6 @@ namespace MediaBrowser.WebDashboard.Api
                                 "editorsidebar.js",
                                 "librarymenu.js",
                                 "mediacontroller.js",
-                                "chromecast.js",
                                 "backdrops.js",
                                 "sync.js",
                                 "syncjob.js",

+ 3 - 0
MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

@@ -225,6 +225,9 @@
     <Content Include="dashboard-ui\cordovaindex.html">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
+    <Content Include="dashboard-ui\thirdparty\cordova\chromecast.js">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="dashboard-ui\thirdparty\cordova\imagestore.js">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>