more migration to common docs (#370)

* more migration to common docs

* refactoring js

* removed duplicate docs

* migrating more docs

* more refactoring

* migrated browsers page

* updated summary
This commit is contained in:
Peli de Halleux
2017-03-14 12:07:17 -07:00
committed by GitHub
parent 1acad5195e
commit fb5bb396e1
51 changed files with 34 additions and 1656 deletions

View File

@ -1,16 +1,6 @@
# If
# @extends
### @parent blocks/language
Conditionally run code depending on whether a [Boolean](/blocks/logic/boolean) condition is true or false.
```blocks
if(true) {
}
```
Click on the dark blue gear icon (see above) to add an *else* or *if* to the current block.
## #examples
### Example: adjusting screen brightness
@ -23,8 +13,3 @@ input.onButtonPressed(Button.A, () => {
}
})
```
### See also
[while loop](/blocks/loops/while), [for](/blocks/loops/for), [boolean](/blocks/logic/boolean)