Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

ES6 import 加载脚本bug #315

Open
juvenrui opened this issue Jul 31, 2020 · 1 comment
Open

ES6 import 加载脚本bug #315

juvenrui opened this issue Jul 31, 2020 · 1 comment

Comments

@juvenrui
Copy link

使用es6 import导入的时候,出现有变量未定拉的提示。在kindeditor-all.js 1190行, 变量lenth, 需要先定义变量: var lenth;

es6 module 要求脚本是"use strict"模式,所以未定义的变量都会有异常抛出。

@antgodev
Copy link

antgodev commented Aug 1, 2020

扯犊子呢

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants