@netang/quasar 0.2.24 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -135,14 +135,17 @@ export default {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
// 版本
|
|
138
|
-
const version = '0.
|
|
138
|
+
const version = '0.43.0'
|
|
139
|
+
|
|
140
|
+
// 协议
|
|
141
|
+
const protocol = `${location.protocol}//`
|
|
139
142
|
|
|
140
143
|
// 加载 script
|
|
141
144
|
script([
|
|
142
145
|
[
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
+
`${protocol}cdn.staticfile.org/monaco-editor/${version}/min/vs/loader.js`,
|
|
147
|
+
`${protocol}fastly.jsdelivr.net/npm/monaco-editor@${version}/min/vs/loader.js`,
|
|
148
|
+
`${protocol}unpkg.com/monaco-editor@${version}/min/vs/loader.js`,
|
|
146
149
|
]
|
|
147
150
|
])
|
|
148
151
|
.then(function ([ url ]) {
|