CLICK ME
yes, even hidden code blocks!
print("hello world!")
render() { | |
// ... | |
// It can 20-30 milliseconds for CSS to be applied to the newly | |
// inserted DOM. This attempts to wait for that. | |
// Gives up after 200 * 10 milliseconds = 2 seconds to be safe. | |
interval = window.setInterval(() => { | |
intervalAttempts++; | |
if (intervalAttempts > 200 || view.$el.height() > 1) { | |
clearInterval(interval); |
/** | |
* Move in a circle without wrapper elements | |
* Idea by Aryeh Gregor, simplified by Lea Verou | |
*/ | |
@keyframes rot { | |
from { | |
transform: rotate(0deg) | |
translate(-150px) | |
rotate(0deg); |
ON THE SERVER: | |
// Party Model | |
module.exports = { | |
attributes: { | |
name: "STRING" | |
} | |
}; | |