Skip to content

Commit

Permalink
[] (0) dataSet looks silly and is hard to type. Changed to dataset.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1407 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 6, 2008
1 parent 78e8158 commit fe9e465
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -2858,7 +2858,7 @@
attribute DOMString <a href="#dir0" title=dom-dir>dir</a>;
attribute <span>DOMString</span> <a href="#classname" title=dom-className>className</a>;
readonly attribute <a href="#domtokenlist0">DOMTokenList</a> <a href="#classlist" title=dom-classList>classList</a>;
readonly attribute <a href="#domstringmap0">DOMStringMap</a> <a href="#dataset" title=dom-dataSet>dataSet</a>;
readonly attribute <a href="#domstringmap0">DOMStringMap</a> <a href="#dataset" title=dom-dataset>dataset</a>;

// <a href="#interaction0">interaction</a>
attribute boolean <a href="#irrelevant0" title=dom-irrelevant>irrelevant</a>;
Expand Down Expand Up @@ -6747,11 +6747,11 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
application, for which there are no more appropriate attributes or
elements.

<p>The <dfn id=dataset title=dom-dataSet><code>dataSet</code></dfn> DOM
<p>The <dfn id=dataset title=dom-dataset><code>dataset</code></dfn> DOM
attribute provides convenient accessors for all the <code
title="attr-data-*"><a href="#data-">data-*</a></code> attributes on an
element. On getting, the <code title=dom-dataSet><a
href="#dataset">dataSet</a></code> DOM attribute must return a <code><a
element. On getting, the <code title=dom-dataset><a
href="#dataset">dataset</a></code> DOM attribute must return a <code><a
href="#domstringmap0">DOMStringMap</a></code> object, associated with the
following three algorithms, which expose these attributes on their
element:
Expand Down Expand Up @@ -6811,7 +6811,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
data-weapons="laser 2" data-shields="50%"
data-x="30" data-y="10" data-z="90">
&lt;button class="fire"
onclick="spaceships[this.parentNode.dataSet.id].fire()">
onclick="spaceships[this.parentNode.dataset.id].fire()">
Fire
&lt;/button>
&lt;/div>
Expand Down
8 changes: 4 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@
attribute DOMString <span title="dom-dir">dir</span>;
attribute <span>DOMString</span> <span title="dom-className">className</span>;
readonly attribute <span>DOMTokenList</span> <span title="dom-classList">classList</span>;
readonly attribute <span>DOMStringMap</span> <span title="dom-dataSet">dataSet</span>;
readonly attribute <span>DOMStringMap</span> <span title="dom-dataset">dataset</span>;

// <span>interaction</span>
attribute boolean <span title="dom-irrelevant">irrelevant</span>;
Expand Down Expand Up @@ -5213,10 +5213,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
application, for which there are no more appropriate attributes or
elements.</p>

<p>The <dfn title="dom-dataSet"><code>dataSet</code></dfn> DOM
<p>The <dfn title="dom-dataset"><code>dataset</code></dfn> DOM
attribute provides convenient accessors for all the <code
title="attr-data-*">data-*</code> attributes on an element. On
getting, the <code title="dom-dataSet">dataSet</code> DOM attribute
getting, the <code title="dom-dataset">dataset</code> DOM attribute
must return a <code>DOMStringMap</code> object, associated with the
following three algorithms, which expose these attributes on their
element:</p>
Expand Down Expand Up @@ -5294,7 +5294,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
data-weapons="laser 2" data-shields="50%"
data-x="30" data-y="10" data-z="90">
&lt;button class="fire"
onclick="spaceships[this.parentNode.dataSet.id].fire()">
onclick="spaceships[this.parentNode.dataset.id].fire()">
Fire
&lt;/button>
&lt;/div>
Expand Down

0 comments on commit fe9e465

Please sign in to comment.