Преглед на файлове

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>