| @@ -2,9 +2,6 @@ | |||
| * @Author : Caven Chen | |||
| */ | |||
| // eslint-disable-next-line no-console | |||
| console.clear() | |||
| // eslint-disable-next-line no-console | |||
| console.log( | |||
| `%c \n DC-SDK \n %c \n 用数字描绘世界之美 %c \n | |||
| @@ -21,5 +21,5 @@ | |||
| * limitations under the License. | |||
| * | |||
| * Portions licensed separately. | |||
| * See https://github.com/dvgis/dc-sdk/blob/master/LICENSE.MD for full licensing details. | |||
| * See https://github.com/dvt3d/dc-sdk/blob/master/LICENSE.MD for full licensing details. | |||
| */ | |||
| @@ -29,6 +29,7 @@ const DEF_OPTS = { | |||
| class Viewer { | |||
| constructor(container, options = {}) { | |||
| __cmdOut && __cmdOut() | |||
| if ( | |||
| !container || | |||
| (typeof container === 'string' && !document.getElementById(container)) | |||