paper.js/build/jsdoc-toolkit/app/plugins/readonly.js
2011-05-27 13:55:59 +02:00

10 lines
No EOL
226 B
JavaScript

JSDOC.PluginManager.registerPlugin(
"JSDOC.readonly",
{
onSymbol: function(symbol) {
if (symbol.comment.getTag('readonly').length) {
symbol.readOnly = symbol.comment.getTag('readonly')[0] != 'false';
}
}
}
);