Skip to content

Commit

Permalink
Merge pull request #1241 from patrickkettner/unload
Browse files Browse the repository at this point in the history
remove Modernizr.load - fixes #1182
  • Loading branch information
Stu Cox committed Mar 2, 2014
2 parents 94fcd21 + fc70d6f commit 5477732
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 593 deletions.
5 changes: 0 additions & 5 deletions Gruntfile.js
Expand Up @@ -26,10 +26,6 @@ module.exports = function( grunt ) {
' * information allows you to progressively enhance your pages with a granular level\n' +
' * of control over the experience.\n' +
' *\n' +
' * Modernizr has an optional (*not included*) conditional resource loader called\n' +
' * `Modernizr.load()`, based on [Yepnope.js](http://yepnopejs.com). You can get a\n' +
' * build that includes `Modernizr.load()`, as well as choosing which feature tests\n' +
' * to include on the [Download page](http://www.modernizr.com/download/).\n' +
' */'
},
meta: {
Expand Down Expand Up @@ -106,7 +102,6 @@ module.exports = function( grunt ) {
require: true
},
ignores: [
'src/load.js',
'src/html5printshiv.js',
'src/html5shiv.js'
]
Expand Down
2 changes: 1 addition & 1 deletion feature-detects/css/hyphens.js
Expand Up @@ -8,7 +8,7 @@
"authors": ["David Newton"],
"warnings": [
"These tests currently require document.body to be present",
"If loading Hyphenator.js via Modernizr.load, be cautious of issue 158: http://code.google.com/p/hyphenator/issues/detail?id=158",
"If loading Hyphenator.js via yepnope, be cautious of issue 158: http://code.google.com/p/hyphenator/issues/detail?id=158",
"This is very large – only include it if you absolutely need it"
],
"notes": [
Expand Down
2 changes: 0 additions & 2 deletions readme.md
Expand Up @@ -7,8 +7,6 @@

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/).

## New Asynchronous Event Listeners

Often times people want to know when an asynchronous test is done so they can allow their application to react to it.
Expand Down

0 comments on commit 5477732

Please sign in to comment.