Permalink
Browse files

Initial commit

  • Loading branch information...
1 parent 66655d5 commit c470050f9906b1197ddaa7aace41f73eba5f4ecf @RobLoach RobLoach committed Mar 31, 2013
Showing with 1,543 additions and 3 deletions.
  1. +4 −0 .gitignore
  2. +1 −0 LICENSE
  3. +58 −3 README.md
  4. +16 −0 component.json
  5. +39 −0 composer.json
  6. +1,393 −0 modernizr.js
  7. +32 −0 package.json
View
@@ -0,0 +1,4 @@
+vendor
+build
+node_modules
+components
View
@@ -0,0 +1 @@
+/* Modernizr 3.0.0pre (Custom Build) | MIT & BSD */
View
@@ -1,4 +1,59 @@
-modernizr
-=========
+# Modernizr [![Build Status](https://secure.travis-ci.org/Modernizr/Modernizr.png?branch=master)](http://travis-ci.org/Modernizr/Modernizr)
-Shim repository for Modernizr.
+##### Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.
+
+- [Website](http://www.modernizr.com)
+- [Documentation](http://www.modernizr.com/docs/)
+
+Modernizr tests which native CSS3 and HTML5 features are available in the current UA and makes the results available to you in two ways: as properties on a global `Modernizr` object, and as classes on the `<html>` element. This information allows you to progressively enhance your pages with a granular level of control over the experience.
+
+Modernizr has an optional (*not included*) conditional resource loader called `Modernizr.load()`, based on [Yepnope.js](http://yepnopejs.com). You can get a build that includes `Modernizr.load()`, as well as choosing which feature tests to include on the [Download page](http://www.modernizr.com/download/).
+
+
+## Test suite
+
+Run the [test suite](http://modernizr.github.com/Modernizr/test/)
+
+
+## Building Modernizr v3
+
+### To generate everything in 'config-all.json':
+
+```js
+grunt build
+//outputs to ./dist/modernizr-build.js
+```
+
+### To run tests (in phantom):
+
+```js
+grunt qunit
+```
+
+### To run tests (in browser):
+
+```shell
+grunt build
+serve .
+visit <url>/tests
+```
+
+### To see simple build in browser:
+
+serve the root dir, `<url>/test/modular.html`
+
+
+### To see the build tool:
+
+
+* checkout the modernizr.com code
+* install all your gems and bundles and jekyll and shit
+* `jekyll`
+* `serve ./_sites`
+* visit <url>/download
+* It should be just a big list of things you can build with no frills.
+
+
+## License
+
+MIT license
View
@@ -0,0 +1,16 @@
+{
+ "name": "modernizr",
+ "version": "2.6.2",
+ "description": "Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user's browser.",
+ "homepage": "http://modernizr.com/",
+ "keywords": [
+ "html5",
+ "css3",
+ "browser",
+ "feature detection"
+ ],
+ "author": "Modernizr <http://modernizr.com>",
+ "scripts": [
+ "modernizr.js"
+ ]
+}
View
@@ -0,0 +1,39 @@
+{
+ "name": "components/modernizr",
+ "description": "Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user's browser.",
+ "keywords": [
+ "html5",
+ "css3",
+ "browser",
+ "feature detection"
+ ],
+ "type": "component",
+ "homepage": "http://modernizr.com",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Modernizr",
+ "homepage": "http://modernizr.com"
+ },
+ { "name": "Faruk Ates" },
+ { "name": "Paul Irish" },
+ { "name": "Alex Sexton" },
+ { "name": "Ryan Seddon" },
+ { "name": "Alexander Farkas" },
+ { "name": "Ben Alman" },
+ { "name": "Stu Cox" }
+ ],
+ "require": {
+ "robloach/component-installer": "*"
+ },
+ "extra": {
+ "component": {
+ "scripts": [
+ "modernizr.js"
+ ],
+ "shim": {
+ "exports": "window.Modernizr"
+ }
+ }
+ }
+}
Oops, something went wrong.

0 comments on commit c470050

Please sign in to comment.