Browse Source

move lookup variable inside closure

Fix #17
master
Feross Aboukhadijeh 9 years ago
parent
commit
2f12c12e39
  1. 4
      lib/b64.js

4
lib/b64.js

@ -1,8 +1,8 @@
var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
;(function (exports) { ;(function (exports) {
'use strict' 'use strict'
var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
var Arr = (typeof Uint8Array !== 'undefined') var Arr = (typeof Uint8Array !== 'undefined')
? Uint8Array ? Uint8Array
: Array : Array

Loading…
Cancel
Save