Skip to content
This repository has been archived by the owner on Dec 4, 2017. It is now read-only.

Commit

Permalink
Modified documentation, due to changes in e4c3957
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 18, 2014
1 parent 58e6fe5 commit bfe5c07
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ space0.type === TextOM.WHITE_SPACE_NODE; // true

Unique identifier for all instances of `WhiteSpaceNode`.

##### TextOM\.Node#SOURCE_NODE

Unique identifier for all instances of `SourceNode`.

#### TextOM.Parent
Constructor. Creates a new Parent. Inherits from Node (i.e., a node accepting children).

Expand Down Expand Up @@ -437,6 +441,12 @@ module textom
readonly attribute unsigned long hierarchy = 4;
};
PunctuationNode implements Text;
[Constructor(optional String value = "")]
interface SourceNode {
readonly attribute unsigned long type = 7;
};
SourceNode implements Text;
}
```

Expand Down Expand Up @@ -505,7 +515,7 @@ dogs.on('changetext', function (value, previousValue) {
dogs.fromString('Poodles');
```

Fired when the internal value of an instance of Text (i.e., WhiteSpaceNode, PunctuationNode, or WordNode) changes.
Fired when the internal value of an instance of Text (i.e., WhiteSpaceNode, PunctuationNode, WordNode, or SourceNode) changes.

- this: the node which text changed;
- arguments:
Expand Down

0 comments on commit bfe5c07

Please sign in to comment.