Selaa lähdekoodia

修改ready问题

tags/1.10.4
Caven Chen 5 vuotta sitten
vanhempi
commit
9218af9748
4 muutettua tiedostoa jossa 5 lisäystä ja 7 poistoa
  1. 2
    2
      dist/dc.base.min.js
  2. 1
    1
      dist/dc.core.min.js
  3. 1
    1
      package.json
  4. 1
    3
      src/core/index.js

+ 2
- 2
dist/dc.base.min.js
File diff suppressed because it is too large
Näytä tiedosto


+ 1
- 1
dist/dc.core.min.js
File diff suppressed because it is too large
Näytä tiedosto


+ 1
- 1
package.json Näytä tiedosto

@@ -1,6 +1,6 @@
{
"name": "@dvgis/dc-sdk",
"version": "1.10.3",
"version": "1.10.4",
"description": " The SDK is a secondary development based on the open source project Cesium, which optimizes some operations of Cesium and enables developers to quickly develop 3D applications through the framework.",
"main": "index.js",
"repository": "https://github.com/dvgis/dc-sdk.git",

+ 1
- 3
src/core/index.js Näytä tiedosto

@@ -18,11 +18,9 @@ const install = function(DC) {
DC.ready = callback => {
try {
if (!DC.Initialized) {
new Promise((resolve, reject) => {
DC.init(() => {
require('../thirdpart')
require('./Loader')
resolve()
}).then(() => {
DC.Initialized = true
callback && callback()
})

Loading…
Peruuta
Tallenna