chore(examples): indent all examples (#1783)

Indented examples are easier to read.
This commit is contained in:
Andrey Lushnikov
2018-01-11 13:42:01 -08:00
committed by GitHub
parent 891a5539bd
commit d68033aeca
9 changed files with 91 additions and 124 deletions

View File

@@ -19,12 +19,9 @@
const puppeteer = require('puppeteer');
(async() => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('http://example.com');
await page.screenshot({path: 'example.png'});
await browser.close();
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('http://example.com');
await page.screenshot({path: 'example.png'});
await browser.close();
})();