diff --git a/apidoc/plugins/todo.js b/apidoc/plugins/todo.js index 1389daaa32..1a8a4ec65e 100644 --- a/apidoc/plugins/todo.js +++ b/apidoc/plugins/todo.js @@ -15,7 +15,7 @@ exports.defineTags = function(dictionary) { var readonly = parts.length > 3 && parts[3] === 'readonly'; var description = (readonly ? parts.slice(4) : parts.slice(3)).join(' '); doclet.observables.push({ - name: parts[2], + name: parts[1], type: { names: tag.value.type.names }, diff --git a/apidoc/template/tmpl/observables.tmpl b/apidoc/template/tmpl/observables.tmpl index b5b5fa68be..6442c631b7 100644 --- a/apidoc/template/tmpl/observables.tmpl +++ b/apidoc/template/tmpl/observables.tmpl @@ -7,8 +7,7 @@ Name Type - Get - Set + Settable Event Description @@ -19,7 +18,6 @@ var self = this; props.forEach(function(prop) { if (!prop) { return; } - var getter = 'yes'; var setter = prop.readonly ? 'no' : 'yes'; ?> @@ -30,7 +28,6 @@ - change: