paper.js/build/jsdoc-toolkit/app/plugins/readonly.js

10 lines
226 B
JavaScript
Raw Normal View History

2011-05-27 07:55:59 -04:00
JSDOC.PluginManager.registerPlugin(
"JSDOC.readonly",
{
onSymbol: function(symbol) {
if (symbol.comment.getTag('readonly').length) {
symbol.readOnly = symbol.comment.getTag('readonly')[0] != 'false';
}
}
}
);