mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 13:01:08 -05:00
kick unused hooks
This commit is contained in:
parent
efc84cd397
commit
71843ce491
@ -224,13 +224,6 @@ ST.filereader = function() {
|
|||||||
// How to read any files not specified by readAsMap
|
// How to read any files not specified by readAsMap
|
||||||
readAsDefault: 'DataURL',
|
readAsDefault: 'DataURL',
|
||||||
on: {
|
on: {
|
||||||
beforestart: function(e, file) {
|
|
||||||
// return false if you want to skip this file
|
|
||||||
},
|
|
||||||
loadstart: function(e, file) { /* Native ProgressEvent */ },
|
|
||||||
progress: function(e, file) { /* Native ProgressEvent */ },
|
|
||||||
load: function(e, file) { /* Native ProgressEvent */ },
|
|
||||||
error: function(e, file) { /* Native ProgressEvent */ },
|
|
||||||
loadend: function(e, file) {
|
loadend: function(e, file) {
|
||||||
try {
|
try {
|
||||||
var words = CryptoJS.enc.Base64.parse(e.target.result.split(',')[1]);
|
var words = CryptoJS.enc.Base64.parse(e.target.result.split(',')[1]);
|
||||||
@ -241,28 +234,13 @@ ST.filereader = function() {
|
|||||||
console.info('event: ', e);
|
console.info('event: ', e);
|
||||||
console.info('file: ', file);
|
console.info('file: ', file);
|
||||||
};
|
};
|
||||||
},
|
|
||||||
abort: function(e, file) { /* Native ProgressEvent */ },
|
|
||||||
skip: function(e, file) {
|
|
||||||
// Called when a file is skipped. This happens when:
|
|
||||||
// 1) A file doesn't match the accept option
|
|
||||||
// 2) false is returned in the beforestart callback
|
|
||||||
},
|
|
||||||
groupstart: function(group) {
|
|
||||||
// Called when a 'group' (a single drop / copy / select that may
|
|
||||||
// contain multiple files) is receieved.
|
|
||||||
// You can ignore this event if you don't care about groups
|
|
||||||
},
|
|
||||||
groupend: function(group) {
|
|
||||||
// Called when a 'group' is finished.
|
|
||||||
// You can ignore this event if you don't care about groups
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
ST.ace = function() {
|
ST.ace = function() {
|
||||||
//
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ST.init = function() {
|
ST.init = function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user