I'm a bit disappointed that Google's alternative (the Chrome web store) requires a fee, even if it's only $5.
It seems kind of silly for Google to ask for a fee to distribute a free extension, especially since there is no way for a developer to distribute it themselves.
Aside from minifying javascript, you should probably also consider using Google's Closure Compiler in 'Advanced-Compilation' mode. I believe it does a much better job than traditional minification.
As much as I love jQuery, I feel it can quickly become a crutch, particularly for those who have spent a fair bit of time relying on features like .animate(). Modern browsers often have alternatives that (depending on the situation) simplify your code and offer significantly better performance. Similarly, I cringe whenever I see jQuery UI pop up in an interface - while it's easy to use, it also keeps some from developing UI features of their own.
There's a time and place for everything, and as a whole, I feel many are over-relying on jQuery.
"Also, Google Docs doesn't really do much for version control"
Why would anyone need something beyond Google's 'See revision history' tool? Sure, you're missing some features software engineers are used to, but I'm not understanding why people would need this.
You can now assign the class to a container div - you must still provide some empty tags to specify what kind of content you want.
For example, if you need a couple paragraphs of text, you can use `<article class="fixie"></article>`. If you need exactly 1 header followed by 3 paragraphs, you can use
```
<article class="fixie">
<h1></h1>
<p></p>
<p></p>
<p></p>
</article>
```
Nice suggestion. I made some modifications so this is the new behavior. Child elements are targeted, and content is never overwritten.
```
<div class="fixie">
<p></p>
<p>Hello <a></a></p>
</div>
```
The above will cause only the first `<p>` tag to be filled, and the `<a>` tag.
In addition, you can now use `fixie.init(["CSS-selector"]);` to target arbitrary tag names, class names, and ids. If the tag in question contains text content, it will not auto-fill it (though it will auto-fill children, if need be).
I considered doing that, but the problem is that I've noticed that some people use <p> tags as breaks between paragraphs. Requiring a class makes sure that the developer/designer knows where their filler content is going.
I updated the post with a link to underscore's annotated source for debounce and throttle. Thanks for the tip.