Skip to content

Commit

Permalink
Cleaning up polyfill stuff, more options/consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
SlexAxton committed Feb 24, 2013
1 parent 492f58d commit 81583f7
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 5 deletions.
1 change: 1 addition & 0 deletions feature-detects/a/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "a[download] Attribute",
"property": "adownload",
"caniuse" : "download",
"polyfills": [],
"aliases": [],
"tags": ["media", "attribute"],
"doc": null,
Expand Down
9 changes: 9 additions & 0 deletions feature-detects/audio/audiodata.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
"name": "Audio Data API",
"property": "audiodata",
"aliases": [],
"polyfills": [{
"name": "XAudioJS",
"href": "https://github.com/grantgalitz/XAudioJS",
"license": null,
"notes": [
"Audio sample stream output thin-abstraction library that supports mono and stereo audio, as well as resampling the audio stream.",
"Supports the Mozilla Audio Data API, Web Audio API, Adobe Flash 10, real-time WAV PCM Data URI generation"
]
}],
"tags": ["audio", "media"],
"knownBugs": [],
"doc" : null,
Expand Down
9 changes: 7 additions & 2 deletions feature-detects/css/columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
{
"name": "CSS Columns",
"property": "csscolumns",
"caniuse": "feat=multicolumn",
"caniuse": "multicolumn",
"aliases": [],
"polyfills": [{
"name": "css3-multi-column.js",
"author": "Cdric Savarese",
"href": "http://www.csscripting.com/css-multi-column/",
"notes": null
"license": "CC-GNU LGPL",
"notes": [
"Supported Properties: column-count, column-width, column-gap, column-rule.",
"Unsupported Properties: column-rule-width (use column-rule instead), column-rule-style (use column-rule instead), column-rule-color (use column-rule instead), column-span, column-width-policy, column-space-distribution"
]
}],
"tags": ["css"],
"knownBugs": [],
Expand Down
17 changes: 14 additions & 3 deletions feature-detects/css/cubicbezierrange.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*!
{
"name": "CSS Cubic Bezier Range",
"property": "cubicbezierrange",
"aliases": [],
"polyfills": [],
"tags": ["css"],
"knownBugs": [],
"doc" : null,
"authors": ["@calvein"],
"warnings": ["cubic-bezier values can't be > 1 for Webkit until [bug #45761](https://bugs.webkit.org/show_bug.cgi?id=45761) is fixed"],
"notes": []
}
!*/
define(['Modernizr', 'createElement', 'prefixes'], function( Modernizr, createElement, prefixes ) {
// cubic-bezier values can't be > 1 for Webkit until bug #45761 (https://bugs.webkit.org/show_bug.cgi?id=45761) is fixed
// By @calvein

Modernizr.addTest('cubicbezierrange', function() {
var el = createElement('div');
el.style.cssText = prefixes.join('transition-timing-function' + ':cubic-bezier(1,0,0,1.1); ');
Expand Down

0 comments on commit 81583f7

Please sign in to comment.