Comparing version 2.0.0 to 2.0.2
@@ -9,3 +9,3 @@ (function (w) { | ||
if ('function' === typeof a2b) { | ||
return a2b(a2b); | ||
return a2b(str); | ||
} | ||
@@ -12,0 +12,0 @@ // browserify (web worker) |
@@ -23,3 +23,3 @@ { | ||
"license": "(MIT OR Apache-2.0)", | ||
"version": "2.0.0" | ||
"version": "2.0.2" | ||
} |
@@ -10,14 +10,19 @@ atob | ||
(function () { | ||
"use strict"; | ||
```javascript | ||
(function () { | ||
"use strict"; | ||
var atob = require('atob') | ||
, b64 = "SGVsbG8gV29ybGQ=" | ||
, bin = atob(b64) | ||
; | ||
var atob = require('atob'); | ||
var b64 = "SGVsbG8gV29ybGQ="; | ||
var bin = atob(b64); | ||
console.log(bin); // "Hello World" | ||
}()); | ||
console.log(bin); // "Hello World" | ||
}()); | ||
``` | ||
Changes | ||
### Need Unicode and Binary Support in the Browser? | ||
Check out [unibabel.js](https://github.com/coolaj86/unibabel-js) | ||
Changelog | ||
======= | ||
@@ -24,0 +29,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35688
9
80
44