Skip to content

Commit

Permalink
Merge pull request #1761 from patrickkettner/alias-atob-btoa
Browse files Browse the repository at this point in the history
remove hyphen from default property name of Base64 test
  • Loading branch information
patrickkettner committed Nov 16, 2015
2 parents b42ce72 + b541c16 commit 28df4cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions feature-detects/window/atob-btoa.js
@@ -1,7 +1,8 @@
/*!
{
"name": "Base 64 encoding/decoding",
"property": ["atob-btoa"],
"property": ["atobbtoa"],
"builderAliases": ["atob-btoa"],
"caniuse" : "atob-btoa",
"tags": ["atob", "base64", "WindowBase64", "btoa"],
"authors": ["Christian Ulbrich"],
Expand All @@ -21,5 +22,5 @@ Detects support for WindowBase64 API (window.atob && window.btoa).
*/
define(['Modernizr'], function(Modernizr) {
Modernizr.addTest('atob-btoa', 'atob' in window && 'btoa' in window);
Modernizr.addTest('atobbtoa', 'atob' in window && 'btoa' in window, {aliases: ['atob-btoa']});
});

0 comments on commit 28df4cf

Please sign in to comment.