Addition of ignore notation

Some snippets are designed to show syntax errors or refer to earlier variables. In this case the automated checker needs to avoid compiling them
This commit is contained in:
Thomas Denney committed 2016-08-10 13:43:48 +01:00
1 parent 41a4dfeb68
commit 807e581c3d
5 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ let img = images.createImage(`
### ~
```blocks
```typescript-ignore
let state = img.pixel(0, 0)
```
+2 -2
View File
@@ -32,7 +32,7 @@ let img = images.createImage(`
### ~
```blocks
```typescript-ignore
let w = img.width()
```
@@ -40,7 +40,7 @@ let w = img.width()
The following example uses the `width` function with a [for](/blocks/loops/for) loop to show each image frame on the screen:
```blocks
```typescript
let img2 = images.createImage(`
. . # . . . # # # # . # # # .
. # # . . . . . . # . . . # .