Skip to content

Commit 395925b

Browse files
committed
added ts test in iframe-embed
1 parent 86003b6 commit 395925b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎v5-unity/iframe-embed-demo.html‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929

3030
<p/>
3131

32+
<iframe width="800" height="500" frameborder="0" src="iframe-embed.html#code=//+adapted+from+an+example+at+http%3A//www.typescriptlang.org/Playground%0Aclass+Greeter+%7B%0A++++greeting%3A+string%3B%0A++++constructor(message%3A+string%29+%7B%0A++++++++this.greeting+%3D+message%3B%0A++++%7D%0A++++greet(%29+%7B%0A++++++++return+%22Hello,+%22+%2B+this.greeting%3B%0A++++%7D%0A%7D%0A%0A%0Avar+greeter+%3D+new+Greeter(%22world%22%29%3B%0A%0Aconsole.log(greeter.greet(%29%29%3B&origin=opt-frontend.js&cumulative=false&heapPrimitives=false&textReferences=false&py=ts&rawInputLstJSON=%5B%5D&curInstr=8&codeDivWidth=350&codeDivHeight=400">
33+
</iframe>
34+
35+
<p/>
36+
3237
<iframe width="800" height="500" frameborder="0" src="iframe-embed.html#code=require+'set'%0A%0Amy_array+%3D+%5B1,+2,+3,+'hello',+false,+true,+nil%5D%0Amy_hash+%3D+%7B'John'+%3D%3E+26,+'Jane'+%3D%3E+21,+'Jack'+%3D%3E+30%7D%0Amy_set+%3D+my_array.to_set%0A%0Amy_hash%5B'nested+array'%5D+%3D+my_array%0Amy_array%5B1%5D+%3D+%5B'a',+'b',+'c'%5D&origin=opt-frontend.js&cumulative=true&heapPrimitives=true&textReferences=true&py=ruby&rawInputLstJSON=%5B%5D&curInstr=3&codeDivWidth=350&codeDivHeight=400"> </iframe>
3338

3439
<p/>

0 commit comments

Comments
 (0)