mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 20:39:34 +08:00
Merge pull request #1406 from rayshoo/master
fix typo bindings.js to ipc.js
This commit is contained in:
commit
935f6871ab
@ -3,7 +3,7 @@
|
||||
|
||||
## Script Injection
|
||||
|
||||
When Wails serves your `index.html`, by default, it will inject 2 script entries into the `<body>` tag to load `/wails/bindings.js`
|
||||
When Wails serves your `index.html`, by default, it will inject 2 script entries into the `<body>` tag to load `/wails/ipc.js`
|
||||
and `/wails/runtime.js`. These files install the bindings and runtime respectively.
|
||||
|
||||
The code below shows where these are injected by default:
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
## 脚本注入
|
||||
|
||||
当 Wails 为您的`index.html`提供服务时,默认情况下,它会将 2 个脚本注入`<body>`标签以加载`/wails/bindings.js`和`/wails/runtime.js`。 这些文件分别安装绑定和运行时。
|
||||
当 Wails 为您的`index.html`提供服务时,默认情况下,它会将 2 个脚本注入`<body>`标签以加载`/wails/ipc.js`和`/wails/runtime.js`。 这些文件分别安装绑定和运行时。
|
||||
|
||||
下面的代码显示了这些默认注入的位置:
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
## 脚本注入
|
||||
|
||||
当 Wails 为您的`index.html`提供服务时,默认情况下,它会将 2 个脚本注入`<body>`标签以加载`/wails/bindings.js`和`/wails/runtime.js`。 这些文件分别安装绑定和运行时。
|
||||
当 Wails 为您的`index.html`提供服务时,默认情况下,它会将 2 个脚本注入`<body>`标签以加载`/wails/ipc.js`和`/wails/runtime.js`。 这些文件分别安装绑定和运行时。
|
||||
|
||||
下面的代码显示了这些默认注入的位置:
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
## Script Injection
|
||||
|
||||
When Wails serves your `index.html`, by default, it will inject 2 script entries into the `<body>` tag to load `/wails/bindings.js`
|
||||
When Wails serves your `index.html`, by default, it will inject 2 script entries into the `<body>` tag to load `/wails/ipc.js`
|
||||
and `/wails/runtime.js`. These files install the bindings and runtime respectively.
|
||||
|
||||
The code below shows where these are injected by default:
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
## Script Injection
|
||||
|
||||
When Wails serves your `index.html`, by default, it will inject 2 script entries into the `<body>` tag to load `/wails/bindings.js`
|
||||
When Wails serves your `index.html`, by default, it will inject 2 script entries into the `<body>` tag to load `/wails/ipc.js`
|
||||
and `/wails/runtime.js`. These files install the bindings and runtime respectively.
|
||||
|
||||
The code below shows where these are injected by default:
|
||||
|
Loading…
Reference in New Issue
Block a user