mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Remove unused code
This commit is contained in:
parent
f9bc90e69c
commit
99f4d980fb
1 changed files with 0 additions and 10 deletions
|
|
@ -2,16 +2,6 @@
|
|||
FileManager = {
|
||||
reader: new FileReader(),
|
||||
|
||||
// Given an input node, returns a functional URL
|
||||
urlFromInput: function(input) {
|
||||
var file = input.files[0];
|
||||
return this.urlFromFileReference(file);
|
||||
},
|
||||
|
||||
urlFromFileReference: function(fileReference) {
|
||||
return URL.createObjectURL(fileReference);
|
||||
},
|
||||
|
||||
bufferFromFileReference: function(fileReference, bufferHandler) {
|
||||
this.reader.onload = function (e) {
|
||||
var arrayBuffer = e.target.result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue