Comments (2)
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="turtle_pen" id="J5rvD*5lr{[wMP5Oj(iC" x="119" y="-5"><field name="PEN">penUp</field><next><block type="turtle_move" id="f=o;GOku.jw,W|IH!N32"><field name="DIR">moveForward</field><value name="VALUE"><shadow type="math_number" id="tS~valW[i.%6c~rN~]^M"><field name="NUM">185</field></shadow></value><next><block type="turtle_turn" id="vpMU90wLOTQlnE]FRJ!P"><field name="DIR">turnRight</field><value name="VALUE"><shadow type="math_number" id="h01drbaZWZG]sEX__uwT"><field name="NUM">90</field></shadow></value><next><block type="turtle_move" id="Ph+M!6~K3VR}exE`L)p6"><field name="DIR">moveForward</field><value name="VALUE"><shadow type="math_number" id="`xV{!;93]A/N1up#)mSN"><field name="NUM">20</field></shadow></value><next><block type="turtle_turn" id=";GN;tsuJ-Nf.4n;QV7@D"><field name="DIR">turnLeft</field><value name="VALUE"><shadow type="math_number" id="S+|gU6faex2%/aD#Vv)A"><field name="NUM">90</field></shadow></value><next><block type="turtle_pen" id="Ww]s.~y?B#H.8rC=]1tu"><field name="PEN">penDown</field><next><block type="turtle_width" id="F.~*(vWtyl0kPf1=y)0i"><value name="WIDTH"><shadow type="math_number" id="M,fH^EGg_`I!Vxy##,72"><field name="NUM">2</field></shadow></value><next><block type="controls_repeat_ext" id="h480u3ViYr%}6[)a95@O"><value name="TIMES"><shadow type="math_number" id="SehAQrto{*y)BfTkRlg{"><field name="NUM">40</field></shadow></value><statement name="DO"><block type="turtle_colour" id="h2ykT9dcSU!7[{Ir]A39"><value name="COLOUR"><shadow type="colour_picker" id="{8J+EXIUE:pQ@%HonXqW"><field name="COLOUR">#33ccff</field></shadow></value><next><block type="controls_repeat_ext" id="BaI.rhz3X:7~4W/;zyar"><value name="TIMES"><shadow type="math_number" id="8J|G]:Bl-%a0cVbWn/U0"><field name="NUM">100</field></shadow></value><statement name="DO"><block type="turtle_turn" id="M%bmPaoI`jGDQ!oF6]6N"><field name="DIR">turnLeft</field><value name="VALUE"><shadow type="math_number" id="7`1@6EMQz9=H~[n1ndS!"><field name="NUM">1111111111</field></shadow><block type="math_constant" id="R]qK=DdAA~Su)A=aj1|%"><field name="CONSTANT">GOLDEN_RATIO</field></block></value></block></statement><next><block type="controls_repeat_ext" id="AY/IXhxEq1=yy9BECeul"><value name="TIMES"><shadow type="math_number" id="hcH}0PjKXETom%2Rxohq"><field name="NUM">20</field></shadow></value><statement name="DO"><block type="turtle_move" id="s;R:EFx%@PW`.S@O9s(3"><field name="DIR">moveForward</field><value name="VALUE"><shadow type="math_number" id="SbnVb57la#7r+SgH/4(h"><field name="NUM">15</field></shadow></value><next><block type="turtle_turn" id="17Jo8cc_dfkZmkvofP0+"><field name="DIR">turnRight</field><value name="VALUE"><shadow type="math_number" id="7`1@6EMQz9=H~[n1ndS!"><field name="NUM">1111111111</field></shadow><block type="math_constant" id="J!lqVwDp(+BVn)B:Ey]o"><field name="CONSTANT">PI</field></block></value></block></next></block></statement></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>
this xml string is compact version which is downloaded from reddit , after update this new version of Blockly-iOS , it can not be rendered on canvas now.
from blockly-ios.
Two blocks in the XML are using the same ID, which is not allowed (7
1@6EMQz9=H~[n1ndS!`).
If you change one of the blocks to use a different ID, then it should work.
from blockly-ios.
Related Issues (20)
- Create localization strings for iOS specific UI HOT 1
- Error when loading default blocks HOT 2
- Blockly Sample Application Memory Leaks HOT 9
- Duplicate function call when loading functions from XML HOT 1
- Dragging first block in RTL causes workspace jumping (iOS 9.x only) HOT 1
- Crash when dragging blocks while keyboard is open. HOT 2
- Undo/redo buttons are backwards in RTL HOT 1
- Pull blockly_compressed and all compressed generators from web Blockly HOT 1
- Codelab sounds a4 and b4 are misnamed. HOT 1
- Pull blockly_compressed and all <lang>_compressed files from web Blockly HOT 1
- Add test to check default I18N messages are valid HOT 1
- iOS 11 "WKWebView.evaluateJavaScript(_:completionHandler:) must be used from main thread only" Fix HOT 1
- Pull blockly_compressed and <lang>_compressed from web Blockly HOT 1
- Pull blockly_compressed and lang_compressed from web Blockly HOT 1
- When my Xcode update to xcode9 appear this problem:WKWebView.evaluateJavaScript(_:completionHandler:) must be used from main thread .what should I do? HOT 1
- bug: orientation is not respected HOT 2
- Documentation Error ?
- zoom WorkbenchViewController.swift ToolboxCategoryViewController HOT 3
- Ok
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockly-ios.