A userstyle that makes you wait ten seconds before entering a Hacker News thread. I use stylus to manage mine.
.subtext {
display: inline-block;
background: linear-gradient(to left, transparent 50%, #f60 50%) right;
A userstyle that makes you wait ten seconds before entering a Hacker News thread. I use stylus to manage mine.
.subtext {
display: inline-block;
background: linear-gradient(to left, transparent 50%, #f60 50%) right;
This helper waits for requests initiated by the action to finish. It is similar to waitUntil: 'networkidle'
option, but is designed to work with any action, like click.
Example usage:
const waitForNetworkSettled = require('./networkSettled');
// Wait for network settled after navigation,
In Ember, always use {{...}}
, not {{{...}}}
. Use Ember.String.htmlSafe
as necessary in JavaScript (usually in a component)
to mark markup as HTML-safe. Never pass user-entered content directly to Ember.String.htmlSafe
.
Ember has great XSS protection built in. The HTMLBars templating library will automatically run any interpolations through
htmlEscape
for you. So