[html5] r1407 - /

whatwg at whatwg.org whatwg at whatwg.org
Sat Apr 5 23:50:20 PDT 2008


Author: ianh
Date: 2008-04-05 23:50:19 -0700 (Sat, 05 Apr 2008)
New Revision: 1407

Modified:
   index
   source
Log:
[] (0) dataSet looks silly and is hard to type. Changed to dataset.

Modified: index
===================================================================
--- index	2008-04-06 01:08:21 UTC (rev 1406)
+++ index	2008-04-06 06:50:19 UTC (rev 1407)
@@ -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>;
@@ -6747,11 +6747,11 @@
    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:
@@ -6811,7 +6811,7 @@
      data-weapons="laser 2" data-shields="50%"
      data-x="30" data-y="10" data-z="90">
  <button class="fire"
-         onclick="spaceships[this.parentNode.dataSet.id].fire()">
+         onclick="spaceships[this.parentNode.dataset.id].fire()">
   Fire
  </button>
 </div>

Modified: source
===================================================================
--- source	2008-04-06 01:08:21 UTC (rev 1406)
+++ source	2008-04-06 06:50:19 UTC (rev 1407)
@@ -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>;
@@ -5213,10 +5213,10 @@
   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>
@@ -5294,7 +5294,7 @@
      data-weapons="laser 2" data-shields="50%"
      data-x="30" data-y="10" data-z="90">
  <button class="fire"
-         onclick="spaceships[this.parentNode.dataSet.id].fire()">
+         onclick="spaceships[this.parentNode.dataset.id].fire()">
   Fire
  </button>
 </div>




More information about the Commit-Watchers mailing list