Allow to specify ref&accessToken server side

These values are read from the environment to be sure
nothing leaks to the browser.

This commit should resolves #8

Suggested-by: @mmoulton
Signed-off-by: Étienne Vallette d'Osia <evo@zengularity.com>
Remove useless helper introduced by mistake
dev: gulp task 'watch' now start by calling 'build'
Add onlyBrowser and onlyServer helpers

These helpers allow to display content only when generated
by server/browser.

This commit should resolve #7

Suggested-by: @mmoulton
Signed-off-by: Étienne Vallette d'Osia <evo@zengularity.com>
Merge branch 'master' into next
readme: Fix typo
example: Fix vanilla's script source
Queries results are now Response (no longer response.results)
Allow eager loading of linked documents
Fixed typo
Merge remote-tracking branch 'smithandrobot/eager-loading' into next
Update code style
Use data-eager in vanilla example
example: Use onlyBrowser in vanilla example
Be sure to transmit config to browser

For now only 1 configuration value is used: oauthClientId.

Should resolves #11

Suggested-by: @mmoulton
Signed-off-by: Étienne Vallette d'Osia <dohzya@prismic.io>
Upgrade prismic.io lib to 1.0.26
Merge branch 'next'
Bump to 0.1.0