-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release sdk-v0.2.1 #454
release sdk-v0.2.1 #454
Conversation
add language `lua-wasm`
Import from playgrounds
improve loading types
sdk improvements
Prepare release sdk-v0.2.1
Deploying with Cloudflare Pages
|
/* eslint-disable import/no-internal-modules */ | ||
import { rubyWasmBaseUrl } from '../../vendors'; | ||
|
||
parent.postMessage({ type: 'loading', payload: true }, '*'); |
Check failure
Code scanning / SonarCloud
Origins should be verified during cross-origin communications
livecodes.rubyWasm.run = | ||
livecodes.rubyWasm.run || | ||
(async () => { | ||
parent.postMessage({ type: 'loading', payload: true }, '*'); |
Check failure
Code scanning / SonarCloud
Origins should be verified during cross-origin communications
const { DefaultRubyVM } = (window as any)['ruby-wasm-wasi']; | ||
const { vm } = await DefaultRubyVM(livecodes.rubyWasm.module); | ||
vm.eval(code); | ||
parent.postMessage({ type: 'loading', payload: false }, '*'); |
Check failure
Code scanning / SonarCloud
Origins should be verified during cross-origin communications
|
||
addEventListener('load', () => livecodes.rubyWasm.run?.()); | ||
|
||
parent.postMessage({ type: 'loading', payload: false }, '*'); |
Check failure
Code scanning / SonarCloud
Origins should be verified during cross-origin communications
✅ Deploy Preview for livecodes ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
https://www.npmjs.com/package/livecodes