Procházet zdrojové kódy

add the cmd out

pull/211/head
cavencj před 5 měsíci
rodič
revize
7a3a9db33c

+ 0
- 3
src/copyright/cmdOut.js Zobrazit soubor

@@ -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

+ 1
- 1
src/copyright/header.js Zobrazit soubor

@@ -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.
*/

+ 1
- 0
src/modules/viewer/Viewer.js Zobrazit soubor

@@ -29,6 +29,7 @@ const DEF_OPTS = {

class Viewer {
constructor(container, options = {}) {
__cmdOut && __cmdOut()
if (
!container ||
(typeof container === 'string' && !document.getElementById(container))

Načítá se…
Zrušit
Uložit