Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NewtonJoshua committed Aug 29, 2019
1 parent d8315c0 commit 0c83843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ if (typeof Promise === "undefined") {

try { // for browsers
var global = global || window;
// Browser Support: make node's Buffer API available globally in the browser
// Browser Support: make buffer, that emulates node's Buffer API, available globally in the browser
global.Buffer = global.Buffer || require("buffer").Buffer;
// Browser Support: make node's Process API available globally in the browser
// Browser Support: make process, that emulates node's Process API, available globally in the browser
global.process = global.process || require("process");
}
catch (e) {
Expand Down

0 comments on commit 0c83843

Please sign in to comment.