This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a change to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git
from 62c9f2a9 Merge pull request #44 from fuchunhui/gh-pages
add 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
add 06346be8 fix: optimize code & fix dat gui
add ab20675b fix: tweak style & fix example download
add fb700f75 fix seedrandom
add 753545e5 feat: show error hint when infinite loops exists in code
add fb84e60f chore: enlarge `maxExecTimePerLoop` to 10s.
add 259f51b9 chore: optimize style
add 68688039 feat: support opening code with CodeSandBox & CodePen
add c96cfed9 fix: log time only shows HMS
add 62493ff1 fix(sandbox): fix wrong `Math.random` replacement causes
compilation to be failed
add ecf4c30d chore: add FIXME annotation
add 79eaa361 fix wrong var name
add e8e4c5ee fix ROOT_PATH
add 31cb6dc7 fix(sandbox): block potential redirection in code & expose
more values of window
add 46ac670a fix: add missing `break` keyword
add 241822fd chore: tweak comments
add cdc2c9be fix: enhance sandbox policy & not expose chartInstance anymore
add e1050e76 chore: update content security policy of sandbox
add 85d65e91 fix: set sandbox csp & mock
localStorage/sessionStorage/cookie for BMap
add 23267919 chore: optimize compress helper
add 74161314 chore: optimize compress helper
add 111e7d06 fix: not check echarts script
add cc5740e6 chore: add more domains to sandbox csp
add a937619c fix chart off
add 787ded1a fix: allow data:// and blob:// protocols
add 044396d5 chore: optimize estraverse browser js import
add df598ad5 fix: override `document.defaultView` with custom limited
`window`
add 27aa32c7 fix: add back `allow-same-origin` for sandbox and tweak CSP
rules for FireFox compatibility.
add 7a78a254 fix: set CSP `frame-src` to `'none'`
add 8ae6adef fix: add bdstatic.com to CSP allow list
add 515139b6 fix: add apache.github.io to CSP allow list
add e2141f2b chore: reload sandbox when clicking `Run`
add db87f961 fix: limit shared code's access to global vars
add 6110ae00 fix darkMode
new bafef5a3 Merge pull request #43 from apache/feat-share
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
build/webpack.config.js | 5 +-
package-lock.json | 13395 ++++++++++++++++++++++++++-
package.json | 4 +
src/common/config.js | 44 +-
src/common/helper.js | 24 +-
src/common/i18n.js | 26 +-
src/common/store.js | 49 +-
src/dep/showDebugDirtyRect.js | 35 +-
src/editor/CodeMonaco.vue | 38 +-
src/editor/Editor.vue | 103 +-
src/editor/Preview.vue | 613 +-
src/editor/downloadExample.js | 108 +-
src/editor/sandbox.js | 216 -
src/editor/sandbox/estraverse.browser.js | 1 +
src/editor/sandbox/handleLoop.js | 78 +
src/editor/sandbox/index.js | 163 +
src/editor/sandbox/loopController.js | 60 +
src/editor/sandbox/openwith/codepen.js | 29 +
src/editor/sandbox/openwith/codesandbox.js | 64 +
src/editor/sandbox/openwith/helper.js | 79 +
src/editor/sandbox/setup.js | 369 +
src/editor/sandbox/srcdoc.html | 73 +
22 files changed, 14593 insertions(+), 983 deletions(-)
delete mode 100644 src/editor/sandbox.js
create mode 100644 src/editor/sandbox/estraverse.browser.js
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/openwith/codepen.js
create mode 100644 src/editor/sandbox/openwith/codesandbox.js
create mode 100644 src/editor/sandbox/openwith/helper.js
create mode 100644 src/editor/sandbox/setup.js
create mode 100644 src/editor/sandbox/srcdoc.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]