32 karma · joined February 9, 2012
For those wondering what this is for, I've written a document with guidelines in building scalable non-SPA apps leveraging this: http://ricostacruz.com/rsjs
Just set the language to ruby, change your test command to a script that performs `jekyll build && rsync`, then encrypt any credentials using travis encryption keys (http://docs.travis-ci.com/user/encryption-keys/).
Here's one article that takes advantage of this exact setup to automatically deploy to a gh-pages repo: https://medium.com/@nthgergo/publishing-gh-pages-with-travis...
For instance, there's no way to monitor the progress of sending an SMS message, yet the iPhone UI displays a progress bar for it. It assumes that SMS's take an average of 4 seconds to send, so the progress bar moves at that rate.
NProgress follows the same idea, and its default behavior operates similarly. Ideally, you should tweak the progress to be more in tune with your average load times (which is what I've done for our 2 apps that use it).
You can disable this by removing the `cursor: wait` rule in the CSS file.
var emitter = jQuery({});
emitter.on('ready', function() { alert("Ready!"); });
emitter.trigger('ready');
...or if you're on Node, Node.js already has API for events: var EventEmitter = require('events').EventEmitter;
var emitter = new EventEmitter();
emitter.on('ready', function() { alert("Ready!"); });
emitter.trigger('ready');
The reason you'd use LucidJS is for its other features that these solutions don't have, like `.set()` and `.pipe()`.It's very common that I iterate by doing very messy things, like say, breaking menus apart into two just to see how it will work. A DOM-based tool will probably have a nightmare with this, and even if it manages to account for this elegantly, I know from experience that having too many iterations that actually mess up the code can only be a bad thing.
I like Easel's approach. I want to paint a "picture," then build it with hand-made CSS. I don't want some tool being smart about my workflow. Easel exports just the right building blocks so I can implement by picture into a webpage the way I want to.
https://twitter.com/eee_c/status/167697122823639040
I can't confirm this, but @eee_c wrote The SPDY Book, I'm inclined to trust him.