Pārlūkot izejas kodu

chore(examples/parent-window): fix import closes #9704 (#9705)

* chore(examples/parent-window): fix import

closes #9704

* lock file
Amr Bashir 1 gadu atpakaļ
vecāks
revīzija
a813caf2e4
2 mainītis faili ar 161 papildinājumiem un 161 dzēšanām
  1. 160 160
      Cargo.lock
  2. 1 1
      examples/parent-window/index.html

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 160 - 160
Cargo.lock


+ 1 - 1
examples/parent-window/index.html

@@ -14,7 +14,7 @@
     <div id="response"></div>
 
     <script>
-      const WebviewWindow = window.__TAURI__.webview.WebviewWindow
+      const { WebviewWindow } = window.__TAURI_.webviewWindow
       const thisTauriWindow = window.__TAURI__.window.getCurrent()
       const windowLabel = thisTauriWindow.label
       const windowLabelContainer = document.getElementById('window-label')

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels