Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Oct 30, 2012
1 parent 4f9bcfe commit b3e04d4
Show file tree
Hide file tree
Showing 26 changed files with 382 additions and 378 deletions.
3 changes: 1 addition & 2 deletions assets/vendor/prettify/prettify-min.js

Large diffs are not rendered by default.

597 changes: 295 additions & 302 deletions assets/vendor/prettify/prettify.js

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions coverage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,16 @@
<h1>Code coverage report for <span class='entity'>All files</span></h1>
<h2>

Statements: <span class='metric'>88.26% <small>(759 / 860)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Statements: <span class='metric'>88.28% <small>(761 / 862)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;


Branches: <span class='metric'>79.4% <small>(397 / 500)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Branches: <span class='metric'>79.48% <small>(399 / 502)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;


Functions: <span class='metric'>93.63% <small>(147 / 157)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;


Lines: <span class='metric'>88.24% <small>(758 / 859)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Lines: <span class='metric'>88.27% <small>(760 / 861)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;

</h2>
<div class="path"></div>
Expand All @@ -210,15 +210,15 @@ <h2>
</thead>
<tbody><tr>
<td class="file high" data-value="lib/"><a href="lib/index.html">lib/</a></td>
<td data-value="86.15" class="pic high"><span class="cover-fill" style="width: 86px;"></span><span class="cover-empty" style="width:14px;"></span></td>
<td data-value="86.15" class="pct high">86.15%</td>
<td data-value="729" class="abs high">(628&nbsp;/&nbsp;729)</td>
<td data-value="75.93" class="pct medium">75.93%</td>
<td data-value="428" class="abs medium">(325&nbsp;/&nbsp;428)</td>
<td data-value="86.18" class="pic high"><span class="cover-fill" style="width: 86px;"></span><span class="cover-empty" style="width:14px;"></span></td>
<td data-value="86.18" class="pct high">86.18%</td>
<td data-value="731" class="abs high">(630&nbsp;/&nbsp;731)</td>
<td data-value="76.05" class="pct medium">76.05%</td>
<td data-value="430" class="abs medium">(327&nbsp;/&nbsp;430)</td>
<td data-value="92.25" class="pct high">92.25%</td>
<td data-value="129" class="abs high">(119&nbsp;/&nbsp;129)</td>
<td data-value="86.13" class="pct high">86.13%</td>
<td data-value="728" class="abs high">(627&nbsp;/&nbsp;728)</td>
<td data-value="86.16" class="pct high">86.16%</td>
<td data-value="730" class="abs high">(629&nbsp;/&nbsp;730)</td>
</tr>

<tr>
Expand All @@ -239,7 +239,7 @@ <h2>
</div>
</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/args.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/builder.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
22 changes: 11 additions & 11 deletions coverage/lib/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,16 @@
<h1>Code coverage report for <span class='entity'>lib/</span></h1>
<h2>

Statements: <span class='metric'>86.15% <small>(628 / 729)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Statements: <span class='metric'>86.18% <small>(630 / 731)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;


Branches: <span class='metric'>75.93% <small>(325 / 428)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Branches: <span class='metric'>76.05% <small>(327 / 430)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;


Functions: <span class='metric'>92.25% <small>(119 / 129)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;


Lines: <span class='metric'>86.13% <small>(627 / 728)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Lines: <span class='metric'>86.16% <small>(629 / 730)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;

</h2>
<div class="path"><a href="../index.html">All files</a> &#187; lib/</div>
Expand Down Expand Up @@ -262,15 +262,15 @@ <h2>

<tr>
<td class="file high" data-value="module.js"><a href="module.js.html">module.js</a></td>
<td data-value="88.6" class="pic high"><span class="cover-fill" style="width: 88px;"></span><span class="cover-empty" style="width:12px;"></span></td>
<td data-value="88.6" class="pct high">88.6%</td>
<td data-value="351" class="abs high">(311&nbsp;/&nbsp;351)</td>
<td data-value="71.98" class="pct medium">71.98%</td>
<td data-value="207" class="abs medium">(149&nbsp;/&nbsp;207)</td>
<td data-value="88.67" class="pic high"><span class="cover-fill" style="width: 88px;"></span><span class="cover-empty" style="width:12px;"></span></td>
<td data-value="88.67" class="pct high">88.67%</td>
<td data-value="353" class="abs high">(313&nbsp;/&nbsp;353)</td>
<td data-value="72.25" class="pct medium">72.25%</td>
<td data-value="209" class="abs medium">(151&nbsp;/&nbsp;209)</td>
<td data-value="95" class="pct high">95%</td>
<td data-value="60" class="abs high">(57&nbsp;/&nbsp;60)</td>
<td data-value="88.6" class="pct high">88.6%</td>
<td data-value="351" class="abs high">(311&nbsp;/&nbsp;351)</td>
<td data-value="88.67" class="pct high">88.67%</td>
<td data-value="353" class="abs high">(313&nbsp;/&nbsp;353)</td>
</tr>

<tr>
Expand Down Expand Up @@ -343,7 +343,7 @@ <h2>
</div>
</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
10 changes: 5 additions & 5 deletions coverage/lib/log.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ <h2>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-yes">1027</span>
<span class="cline-any cline-yes">1020</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1027</span>
<span class="cline-any cline-yes">1020</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1</span>
Expand Down Expand Up @@ -357,12 +357,12 @@ <h2>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">516</span>
<span class="cline-any cline-yes">514</span>
<span class="cline-any cline-yes">4</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">517</span>
<span class="cline-any cline-yes">513</span>
<span class="cline-any cline-yes">4</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -458,7 +458,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
62 changes: 37 additions & 25 deletions coverage/lib/module.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,16 @@
<h1>Code coverage report for <span class='entity'>lib/module.js</span></h1>
<h2>

Statements: <span class='metric'>88.6% <small>(311 / 351)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Statements: <span class='metric'>88.67% <small>(313 / 353)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;


Branches: <span class='metric'>71.98% <small>(149 / 207)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Branches: <span class='metric'>72.25% <small>(151 / 209)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;


Functions: <span class='metric'>95% <small>(57 / 60)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;


Lines: <span class='metric'>88.6% <small>(311 / 351)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
Lines: <span class='metric'>88.67% <small>(313 / 353)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;

</h2>
<div class="path"><a href="../index.html">All files</a> &#187; <a href="index.html">lib/</a> &#187; module.js</div>
Expand Down Expand Up @@ -1067,7 +1067,11 @@ <h2>
870
871
872
873</td><td class="line-coverage"><span class="cline-any cline-neutral">&nbsp;</span>
873
874
875
876
877</td><td class="line-coverage"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -1153,10 +1157,10 @@ <h2>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-yes">9</span>
<span class="cline-any cline-yes">9</span>
<span class="cline-any cline-yes">9</span>
<span class="cline-any cline-yes">8</span>
<span class="cline-any cline-yes">8</span>
<span class="cline-any cline-yes">8</span>
<span class="cline-any cline-yes">7</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1</span>
Expand Down Expand Up @@ -1200,11 +1204,11 @@ <h2>
<span class="cline-any cline-yes">10</span>
<span class="cline-any cline-yes">9</span>
<span class="cline-any cline-yes">9</span>
<span class="cline-any cline-yes">500</span>
<span class="cline-any cline-yes">500</span>
<span class="cline-any cline-yes">500</span>
<span class="cline-any cline-yes">500</span>
<span class="cline-any cline-yes">500</span>
<span class="cline-any cline-yes">498</span>
<span class="cline-any cline-yes">498</span>
<span class="cline-any cline-yes">498</span>
<span class="cline-any cline-yes">498</span>
<span class="cline-any cline-yes">498</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -1246,6 +1250,10 @@ <h2>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">11</span>
<span class="cline-any cline-yes">11</span>
<span class="cline-any cline-yes">3</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">8</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">11</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -1296,9 +1304,6 @@ <h2>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand All @@ -1313,6 +1318,9 @@ <h2>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
Expand Down Expand Up @@ -2117,7 +2125,11 @@ <h2>
delete config.after;
}
var str = JSON.stringify(config);
str = str.replace(/:/g, ': ').replace(/,/g, ', ');
if (str.length &gt; 100) {
str = JSON.stringify(config, null, 4);
} else {
str = str.replace(/:/g, ': ').replace(/,/g, ', ');
}
<span class="missing-if-branch" title="if path not taken"" >I</span>if (str === '{}' || str === '[]') {
<span class="cstat-no" title="statement not covered" > str = '';</span>
}
Expand Down Expand Up @@ -2166,19 +2178,19 @@ <h2>
&nbsp;
queue.read(resolve(mod.cssfiles, 'css'))
.concat()
.cssstamp({
stamp: '/* YUI CSS Detection Stamp */\n#yui3-css-stamp.' + name + ' { display: none; }'
})
.replace(replaceOptions);
&nbsp;
<span class="missing-if-branch" title="else path not taken"" >E</span>if (defaultLint &amp;&amp; cssLint) {
queue.csslint(cssLintConfig);
}
&nbsp;
queue.md5check({
error: cacheBuild,
current: path.join(buildDir, name, name + '.css')
})
queue.cssstamp({
stamp: '/* YUI CSS Detection Stamp */\n#yui3-css-stamp.' + name + ' { display: none; }'
})
.md5check({
error: cacheBuild,
current: path.join(buildDir, name, name + '.css')
})
.check()
.write(path.join(buildDir, name, name + '.css'))
.cssmin()
Expand Down Expand Up @@ -2715,7 +2727,7 @@ <h2>
}),
modName = mod.name || name,
fileName = mod.basefilename || name,
postfix = "YUI.add('" + modName + "', function (Y, NAME) {" +
postfix = "@YUIGLOBALVAR@.add('" + modName + "', function (@YUIVAR@, NAME) {" +
(options.strict ? <span class="branch-0 cbranch-no" title="branch not covered" >'"use strict"; ' </span>: "") + "}, '@VERSION@'" + stringify(mod.config) + ");\n";
regex = (typeof mod.regex !== 'undefined') ? <span class="branch-0 cbranch-no" title="branch not covered" >mod.regex </span>: loggerRegex,
files = [];
Expand Down Expand Up @@ -2816,7 +2828,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/pack.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/stack.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/tasks.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/tasks/check.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/tasks/compressor.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/tasks/coverage.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/tasks/cssmin.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
2 changes: 1 addition & 1 deletion coverage/lib/tasks/cssstamp.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ <h2>

</div>
<div class='footer'>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Mon Oct 29 2012 09:07:52 GMT-0500 (CDT)</div>
<div class='meta'>Generated by <a href='http://istanbul-js.org' target='_blank'>istanbul</a> at Tue Oct 30 2012 10:31:03 GMT-0500 (CDT)</div>
</div>
</body>

Expand Down
Loading

0 comments on commit b3e04d4

Please sign in to comment.