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
2016-08-10 13:43:48 +01:00
parent 41a4dfeb68
commit 807e581c3d
5 changed files with 18 additions and 18 deletions

View File

@ -41,7 +41,7 @@ let img = images.createImage(`
### ~
```blocks
```typescript-ignore
let state = img.pixel(0, 0)
```

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(`
. . # . . . # # # # . # # # .
. # # . . . . . . # . . . # .