Comment cleanup

This commit is contained in:
Starbeamrainbowlabs 2015-10-24 10:09:15 +01:00
parent 5004544b25
commit 855e1f6d46
1 changed files with 2 additions and 10 deletions

View File

@ -200,19 +200,11 @@ register_module([
http_response_code(501);
exit("Unrecognised file type.");
}
// todo render a preview here
/*
* size (image outputs only, possibly width / height)
* 1-2048 (configurable)
* filetype
* either a mime type or 'native'
*/
});
page_renderer::register_part_preprocessor(function(&$parts) {
// Todo add the preview to the top o fthe page here, but onyl if the current action is view and we are on a page prefixed with file:
// Todo add the preview to the top of the page here, but onyl if the current action is view and we are on a page prefixed with file:
});
}
]);