kopia lustrzana https://github.com/c9/core
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
rodzic
3958c695f9
commit
8f33c9ea59
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue