Skip to content

Commit

Permalink
Remove {{ }} from output. Fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Apr 21, 2015
1 parent fd99485 commit b931e3d
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 69 deletions.
66 changes: 33 additions & 33 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2112,7 +2112,7 @@ CharacterData implements ChildNode;
</pre>

<dl class=domintro>
<dt><code><var>node</var> . {{before(<var>nodes</var>)}}</code>
<dt><code><var>node</var> . {{before(nodes)}}</code>
<dd>
Inserts <var>nodes</var> just before <var>node</var>,
while replacing strings in <var>nodes</var> with equivalent
Expand All @@ -2122,7 +2122,7 @@ CharacterData implements ChildNode;
{{HierarchyRequestError}} if the constraints of the
<a>node tree</a> are violated.

<dt><code><var>node</var> . {{after(<var>nodes</var>)}}</code>
<dt><code><var>node</var> . {{after(nodes)}}</code>
<dd>
Inserts <var>nodes</var> just after <var>node</var>,
while replacing strings in <var>nodes</var> with equivalent
Expand All @@ -2132,7 +2132,7 @@ CharacterData implements ChildNode;
{{HierarchyRequestError}} if the constraints of the
<a>node tree</a> are violated.

<dt><code><var>node</var> . {{replaceWith(<var>nodes</var>)}}</code>
<dt><code><var>node</var> . {{replaceWith(nodes)}}</code>
<dd>
Replaces <var>node</var> with <var>nodes</var>, while
replacing strings in <var>nodes</var> with equivalent
Expand Down Expand Up @@ -2229,13 +2229,13 @@ additional methods. It's the new {{NodeList}} / {{HTMLCollection}}.
</div>

<dl class=domintro>
<dt><code><var>elements</var> . {{query(<var>relativeSelectors</var>)}}</code>
<dt><code><var>elements</var> . {{Elements/query(relativeSelectors)}}</code>
<dd>
Returns the first <a>element</a> that is a
<a>descendant</a> of <var>elements</var> that
matches <var>relativeSelectors</var>.

<dt><code><var>elements</var> . {{queryAll(<var>relativeSelectors</var>)}}</code>
<dt><code><var>elements</var> . {{Elements/queryAll(relativeSelectors)}}</code>
<dd>
Returns all <a>element</a>
<a>descendants</a> of <var>elements</var> that
Expand Down Expand Up @@ -2303,7 +2303,7 @@ interface NodeList {
Returns the number of <a>nodes</a> in the
<a>collection</a>.

<dt><var>element</var> = <var>collection</var> . {{NodeList/item(<var>index</var>)}}
<dt><var>element</var> = <var>collection</var> . {{NodeList/item(index)}}
<dt><var>element</var> = <var>collection</var>[<var>index</var>]
<dd>
Returns the <a>node</a> with index
Expand Down Expand Up @@ -2359,14 +2359,14 @@ artifact we cannot rid the web of.
Returns the number of <a>elements</a> in
the <a>collection</a>.

<dt><var>element</var> = <var>collection</var> . {{HTMLCollection/item(<var>index</var>)}}
<dt><var>element</var> = <var>collection</var> . {{HTMLCollection/item(index)}}
<dt><var>element</var> = <var>collection</var>[<var>index</var>]
<dd>
Returns the <a>element</a> with index
<var>index</var> from the <a>collection</a>.
The <a>elements</a> are sorted in <a>tree order</a>.

<dt><var>element</var> = <var>collection</var> . {{namedItem(<var>name</var>)}}
<dt><var>element</var> = <var>collection</var> . {{namedItem(name)}}
<dt><var>element</var> = <var>collection</var>[<var>name</var>]
<dd>
Returns the first <a>element</a> with <a>ID</a> or name <var>name</var>
Expand Down Expand Up @@ -2542,7 +2542,7 @@ Each {{MutationObserver}} object has these associated concepts:
</ul>

<dl class=domintro>
<dt><code><var>observer</var> = new {{MutationObserver(<var>callback</var>)}}</code>
<dt><code><var>observer</var> = new {{MutationObserver(callback)}}</code>
<dd>Constructs a {{MutationObserver}} object and sets its
<a lt="MO callback">callback</a> to
<var>callback</var>. The <var>callback</var> is invoked with a
Expand All @@ -2552,7 +2552,7 @@ Each {{MutationObserver}} object has these associated concepts:
{{MutationObserver/observe()}} method, are
mutated.

<dt><code><var>observer</var> . {{observe(<var>target</var>, <var>options</var>)}}</code>
<dt><code><var>observer</var> . {{observe(target, options)}}</code>
<dd>
Instructs the user agent to observe a given <var>target</var>
(a <a>node</a>) and report any mutations based on
Expand Down Expand Up @@ -2956,7 +2956,7 @@ interface Node : EventTarget {
void normalize();

[NewObject] Node cloneNode(optional boolean deep = false);
boolean isEqualNode(Node? node);
boolean isEqualNode(Node? otherNode);

const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02;
Expand Down Expand Up @@ -3458,8 +3458,8 @@ For each {{Text}} <a>node</a>
<var>deep</var> is true, the copy also includes the
<var>node</var>'s <a>descendants</a>.

<dt><code><var>node</var> . {{Node/isEqualNode(<var>other</var>)}}</code>
<dd>Returns whether <var>node</var> and <var>other</var>
<dt><code><var>node</var> . {{Node/isEqualNode(otherNode)}}</code>
<dd>Returns whether <var>node</var> and <var>otherNode</var>
have the same properties.
</dl>

Expand Down Expand Up @@ -3617,17 +3617,17 @@ A <a>node</a> <var>A</var>
</ul>

The
<dfn method for="Node">isEqualNode(<var>node</var>)</dfn>
<dfn method for="Node">isEqualNode(<var>otherNode</var>)</dfn>
method must return true if <var>node</var> is not null and
<a>context object</a> <a>equals</a>
<var>node</var>, and false otherwise.
<var>otherNode</var>, and false otherwise.

</div>

<hr>

<dl class=domintro>
<dt><code><var>node</var> . {{compareDocumentPosition(<var>other</var>)}}</code>
<dt><code><var>node</var> . {{compareDocumentPosition(other)}}</code>
<dd>
Returns a bitmask indicating the position of <var>other</var>
relative to <var>node</var>. These are the bits that can be set:
Expand Down Expand Up @@ -3658,7 +3658,7 @@ method must return true if <var>node</var> is not null and
<var>node</var>.
</dl>

<dt><code><var>node</var> . {{Node/contains(<var>other</var>)}}</code>
<dt><code><var>node</var> . {{Node/contains(other)}}</code>
<dd>Returns true if <var>other</var> is an
<a>inclusive descendant</a>
of <var>node</var>, and false otherwise.
Expand Down Expand Up @@ -4327,7 +4327,7 @@ attribute must return the
<dt><var>document</var> . {{Document/documentElement}}
<dd>Returns the <a>document element</a>.

<dt><var>collection</var> = <var>document</var> . {{getElementsByTagName(<var>localName</var>)}}</code>
<dt><var>collection</var> = <var>document</var> . {{Document/getElementsByTagName(localName)}}</code>

<dd>
If <var>localName</var> is "<code>*</code>" returns a
Expand All @@ -4343,7 +4343,7 @@ attribute must return the
<a>elements</a> in the
<a>HTML namespace</a> within an <a>HTML document</a>.)

<dt><var>collection</var> = <var>document</var> . {{getElementsByTagNameNS(<var>namespace</var>, <var>localName</var>)}}</code>
<dt><var>collection</var> = <var>document</var> . {{Document/getElementsByTagNameNS(namespace, localName)}}</code>

<dd>
If <var>namespace</var> and <var>localName</var> are
Expand Down Expand Up @@ -4373,15 +4373,15 @@ attribute must return the
<a for=Element>local name</a> is
<var>localName</var>.

<dt><var>collection</var> = <var>document</var> . {{Document/getElementsByClassName(<var>classes</var>)}}</code>
<dt><var>collection</var> = <var>element</var> . {{Element/getElementsByClassName(<var>classes</var>)}}</code>
<dt><var>collection</var> = <var>document</var> . {{Document/getElementsByClassName(classNames)}}</code>
<dt><var>collection</var> = <var>element</var> . {{Element/getElementsByClassName(classNames)}}</code>
<dd>
Returns a {{HTMLCollection}} of the
<a>elements</a> in the object on which
the method was invoked (a <a>document</a> or
an <a>element</a>) that have all the classes
given by <var>classes</var>.
The <var>classes</var> argument is interpreted as a
given by <var>classNames</var>.
The <var>classNames</var> argument is interpreted as a
space-separated list of classes.
</dl>

Expand Down Expand Up @@ -4452,7 +4452,7 @@ for the <a>context object</a>.
<hr>

<dl class=domintro>
<dt><var>element</var> = <var>document</var> . {{createElement(<var>localName</var>)}}</code>
<dt><var>element</var> = <var>document</var> . {{createElement(localName)}}</code>
<dd>
Returns an <a>element</a> in the
<a>HTML namespace</a> with <var>localName</var> as
Expand All @@ -4464,7 +4464,7 @@ for the <a>context object</a>.
{{InvalidCharacterError}}
exception will be thrown.

<dt><var>element</var> = <var>document</var> . {{createElementNS(<var>namespace</var>, <var>qualifiedName</var>)}}</code>
<dt><var>element</var> = <var>document</var> . {{createElementNS(namespace, qualifiedName)}}</code>

<dd>
Returns an <a>element</a> with
Expand Down Expand Up @@ -4508,15 +4508,15 @@ for the <a>context object</a>.
<dd>Returns a {{DocumentFragment}}
<a>node</a>.

<dt><var>text</var> = <var>document</var> . {{createTextNode(<var>data</var>)}}</code>
<dt><var>text</var> = <var>document</var> . {{createTextNode(data)}}</code>
<dd>Returns a {{Text}} <a>node</a>
whose <a>data</a> is <var>data</var>.

<dt><var>comment</var> = <var>document</var> . {{createComment(<var>data</var>)}}</code>
<dt><var>comment</var> = <var>document</var> . {{createComment(data)}}</code>
<dd>Returns a {{Comment}} <a>node</a>
whose <a>data</a> is <var>data</var>.

<dt><var>processingInstruction</var> = <var>document</var> . {{createProcessingInstruction(<var>target</var>, <var>data</var>)}}</code>
<dt><var>processingInstruction</var> = <var>document</var> . {{createProcessingInstruction(target, data)}}</code>
<dd>
Returns a {{ProcessingInstruction}}
<a>node</a> whose
Expand Down Expand Up @@ -4657,7 +4657,7 @@ Note: No check is performed that <var>target</var> contains
{{NotSupportedError}}
exception.

<dt><var>node</var> = <var>document</var> . {{adoptNode(<var>node</var>)}}
<dt><var>node</var> = <var>document</var> . {{adoptNode(node)}}

<dd>
Moves <var>node</var> from another
Expand Down Expand Up @@ -4882,7 +4882,7 @@ interface DOMImplementation {
</pre>

<dl class=domintro>
<dt><code><var>doctype</var> = <var>document</var> . {{Document/implementation}} . {{createDocumentType(<var>qualifiedName</var>, <var>publicId</var>, <var>systemId</var>)}}</code>
<dt><code><var>doctype</var> = <var>document</var> . {{Document/implementation}} . {{createDocumentType(qualifiedName, publicId, systemId)}}</code>

<dd>
Returns a <a>doctype</a>, with the given
Expand Down Expand Up @@ -5791,12 +5791,12 @@ method, when invoked, must run these steps:
<hr>

<dl class=domintro>
<dt><code><var>element</var> . {{closest(<var>selectors</var>)}}</code>
<dt><code><var>element</var> . {{closest(selectors)}}</code>
<dd>Returns the first (starting at <var>element</var>)
<a>inclusive ancestor</a> that matches
<var>selectors</var>, and null otherwise.

<dt><code><var>element</var> . {{matches(<var>selectors</var>)}}</code>
<dt><code><var>element</var> . {{matches(selectors)}}</code>
<dd>Returns true if matching <var>selectors</var> against
<var>element</var>'s <a for=tree>root</a> yields
<var>element</var>, and false otherwise.
Expand Down Expand Up @@ -6300,7 +6300,7 @@ interface Text : CharacterData {
<dd>Returns a new {{Text}} <a>node</a> whose
<a>data</a> is <var>data</var>.

<dt><code><var>text</var> . {{splitText(<var>offset</var>)}}</code>
<dt><code><var>text</var> . {{Text/splitText(offset)}}</code>
<dd>Splits <a>data</a> at the given
<var>offset</var> and returns the remainder as {{Text}}
<a>node</a>.
Expand Down
Loading

0 comments on commit b931e3d

Please sign in to comment.