Browse Source

add the cmd out

pull/211/head
cavencj 5 months ago
parent
commit
7a3a9db33c
3 changed files with 2 additions and 4 deletions
  1. 0
    3
      src/copyright/cmdOut.js
  2. 1
    1
      src/copyright/header.js
  3. 1
    0
      src/modules/viewer/Viewer.js

+ 0
- 3
src/copyright/cmdOut.js View File

* @Author : Caven Chen * @Author : Caven Chen
*/ */


// eslint-disable-next-line no-console
console.clear()

// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log( console.log(
`%c \n DC-SDK \n %c \n 用数字描绘世界之美 %c \n `%c \n DC-SDK \n %c \n 用数字描绘世界之美 %c \n

+ 1
- 1
src/copyright/header.js View File

* limitations under the License. * limitations under the License.
* *
* Portions licensed separately. * 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 View File



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

Loading…
Cancel
Save