Docs: update box-sizing definition

Add a note to output about the data-text vs data-name attribute settings
This commit is contained in:
Mottie 2015-04-16 07:34:25 -05:00
parent d19985e517
commit 2991e424e7
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body,div,h1 {font-family:'trebuchet ms', verdana, arial;margin:0;padding:0;}
body {background-color:#fff;color:#333;margin:0;padding:0;}
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
h1,h2 {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;margin:0;}
h1 {font-size:large;font-weight:400;}
h2 {color:#333;font-size:small;font-weight:400;}

View File

@ -496,6 +496,7 @@ line,value1,value2,value3
<br>
Notice in this output that the "First" and "Last" columns match the contents of the <code>data-name</code> attribute and not the header text:
<pre class="prettyprint lang-js">Rank,First,Last,Age,Total,Discount,Date</pre>
<span class="label warning">* NOTE *</span> The core plugin uses the <code>data-text</code> attribute for text extraction. If you want to use the same data for both, make the data-attributes match!
</div>
</td>
</tr>