Merge pull request #1187 from pagameba/fix-todo-observables
Fix todo observables.
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>Get</th>
|
||||
<th>Set</th>
|
||||
<th>Settable</th>
|
||||
<th>Event</th>
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
@@ -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 @@
|
||||
<?js= self.partial('type.tmpl', prop.type.names) ?>
|
||||
<?js } ?>
|
||||
</td>
|
||||
<td class="getter"><?js= getter ?></td>
|
||||
<td class="setter"><?js= setter ?></td>
|
||||
<td class="event"><code>change:<?js= prop.name ?></code></td>
|
||||
<td class="description last"><?js= prop.description ?></td>
|
||||
|
||||
Reference in New Issue
Block a user