You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2022/04/27 16:40:51 UTC
[echarts-examples] branch feat-share updated (18cf8777 -> 6496b650)
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a change to branch feat-share
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git
from 18cf8777 feat: support sharing code and using nightly version.
add 9ce74520 feat: use sandbox
add 5515be33 fix: enhance sandbox security
add 7b924ede fix: optimize example download
add 6496b650 fix: make sandbox `getOption` synchronized
No new revisions were added by this update.
Summary of changes:
build/webpack.config.js | 5 +-
package-lock.json | 177 ++++++++++++++---------
package.json | 1 +
src/common/config.js | 21 +--
src/common/helper.js | 2 +-
src/dep/showDebugDirtyRect.js | 35 ++---
src/editor/CodeMonaco.vue | 38 +++--
src/editor/Editor.vue | 21 +--
src/editor/Preview.vue | 263 ++++++++++++++--------------------
src/editor/downloadExample.js | 97 +++++++------
src/editor/sandbox.js | 216 ----------------------------
src/editor/sandbox/estraverse.browser | 1 +
src/editor/sandbox/handleLoop.js | 86 +++++++++++
src/editor/sandbox/index.js | 108 ++++++++++++++
src/editor/sandbox/loopController.js | 60 ++++++++
src/editor/sandbox/setup.js | 261 +++++++++++++++++++++++++++++++++
src/editor/sandbox/srcdoc.html | 33 +++++
17 files changed, 883 insertions(+), 542 deletions(-)
delete mode 100644 src/editor/sandbox.js
create mode 100644 src/editor/sandbox/estraverse.browser
create mode 100644 src/editor/sandbox/handleLoop.js
create mode 100644 src/editor/sandbox/index.js
create mode 100644 src/editor/sandbox/loopController.js
create mode 100644 src/editor/sandbox/setup.js
create mode 100644 src/editor/sandbox/srcdoc.html
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org