Merge pull request #3 from pwnall/patch-2
Fix atob to match browser implementations
This commit is contained in:
		
						commit
						ba6a6282f1
					
				| @ -2,7 +2,7 @@ | |||||||
|   "use strict"; |   "use strict"; | ||||||
| 
 | 
 | ||||||
|   function atob(str) { |   function atob(str) { | ||||||
|     return new Buffer(str, 'base64').toString('utf8'); |     return new Buffer(str, 'base64').toString('binary'); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   module.exports = atob; |   module.exports = atob; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user