Modernizr/Modernizr — pull request #810 by SlexAxton (2013-02-12 05:14:01+00:00)
Title: Remove the node_modules directory. Start the work on the metadata comments.

The node_modules thing is for #799 and future sanity. package.json was updated to make sure everything is installable and good. If someone wants to figure out how to remove the node_modules directory from all history, so it doesn't bloat our total repo size even though it's gone, that'd be fine, but it's not _that_ bad.

I wrote meta-data comments on two of the feature-detects as an example and I'm still working on nailing down the exact right properties, but I think I'm close.

`/feature-detects/audio.js` has the metadata in it.

I also generate metadata for modules with no metadata (just stuff I already know).

To run it, currently, just do: `node generate-meta.js` and it'll output all the metadata for the feature-detects.

This is where we can use tags to group tests, and write names and descriptions for the site. We'd just have this run anytime the site is generated, and it'd all be up to date with the files.

It's just a valid json block inside of a comment that starts with `/*!` and ends with `!*/`.

I think any content that lives a different place than this comment should be _referenced_ instead of copied. That's what I've done with docs. Hopefully we can figure out how to show our docs inline, eventually, and then as we update those, everything will just update together.

Take a look over. It's a pretty simple commit, just lots of file changes because of node_modules. sry.

<3z