Allow plugins to alter file icons

This change will allow developers to change CSS classes of file icons and add additional file types.
pull/268/head
Michael Jett 2016-01-13 14:11:21 -05:00
rodzic 3958c695f9
commit 8f33c9ea59
1 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -375,7 +375,16 @@ define(function(require, exports, module) {
setTimeout(callback, 17);
};
plugin.freezePublicAPI({});
plugin.freezePublicAPI({
/**
* @ignore
*/
get supportedIcons(){ return SupportedIcons; },
/**
* @ignore
*/
set supportedIcons(value){ SupportedIcons = value; }
});
register(null, {
util: plugin