-
Configure BrowserID by registering callbacks and setting display options.
Implementation Notes:
Flags:
- Firefox (about:config)
dom.webcomponents.enabled
- Chrome (chrome://flags)
#enable-experimental-web-platform-features
#enable-html-imports
(Firefox doesn't have native HTML import support, yet.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:7.4 | |
MAINTAINER Dan Callahan <[email protected]> | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ | |
vim curl locales \ | |
&& apt-get clean | |
RUN locale-gen C.UTF-8 && LANG=C.UTF-8 /usr/sbin/update-locale | |
ENV LANG C.UTF-8 |
%title: Intro to FxOS Tooling %author: [email protected] %date: 2014-09-20
$ cowsay "Intro to FxOS Tooling"
_______________________
< Intro to FxOS Tooling >
-----------------------
\ ^__^
These snippets show several different ways of accomplishing the same asynchronous task: fetching a document and reporting the status code.
- Using callbacks.
- Using ES2015 Promises directly.
- Using ES7 Async/Await, which is just syntactic sugar for Promises.
The third example is the future, and will likely start landing in runtimes soon. You can use it today thanks to Babel, as snippets #4 and #5 show.
I hereby claim:
- I am callahad on github.
- I am callahad (https://keybase.io/callahad) on keybase.
- I have a public key whose fingerprint is 45A9 53A2 E442 7B8A 68D1 7CED 6E4A 6E96 560C 0D96
To claim this, I am signing this object:
OlderNewer