Files
openlayers/apidoc/plugins/todo.js
2014-07-05 15:41:14 -04:00

15 lines
347 B
JavaScript

var util = require('util');
exports.defineTags = function(dictionary) {
dictionary.defineTag('todo', {
mustHaveValue: true,
canHaveType: true,
canHaveName: true,
onTagged: function(doclet, tag) {
var parts = tag.text.split(' ');
if (parts[0] === 'observable') {
doclet.observable = '';
}
}
});
};