| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/samcrosoft/JavaScript-ID3-Reader/master/src/filereader.js | [Back] [Original] |
/**
* Copyright (c) 2010 Antnio Afonso, antonio.afonso gmail, http://www.aadsm.net/
* MIT License [http://www.opensource.org/licenses/mit-license.php]
*
*/
(function(ns) {
ns["FileAPIReader"] = function(file) {
return function(url, fncCallback, fncError) {
var reader = new FileReader();
reader.onload = function(event) {
var result = event.target.result;
fncCallback(new BinaryFile(result));
};
reader.readAsBinaryString(file);
}
};
})(this);
| Web Proxy Viewer | New URL | Original Page |