sdk: drop dead code

This commit is contained in:
mappu 2017-10-08 14:10:57 +13:00
parent a2a3beb714
commit b361bdef07

View File

@ -122,35 +122,7 @@ var contented = (function($, currentScriptPath) {
}
/*
var onLoad = function() {
var form = document.getElementById("form");
var input = document.getElementById("form-upload");
var label = document.getElementById("form-label");
var makeCaptionText = function( files ) {
return files.length > 1 ? ( input.getAttribute( 'data-multiple-caption' ) || '' ).replace( '{count}', files.length ) : files[ 0 ].name;
};
var refreshCaption = function() {
onStateChange( makeCaptionText( input.files ) );
};
input.addEventListener('change', refreshCaption);
//
document.getElementById("classic-uploader").addEventListener("click", function() {
form.classList.remove("supports-drag");
});
// Handle uploads
form.addEventListener('drop', function(e) {
});
};
*/
//
return {
'supportsDrop': contented_SupportsDrop,
'init': contented_EnableDrop