Skip to content

Commit

Permalink
Remove any trace of module loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Johansen committed Feb 21, 2012
1 parent 78668f0 commit f663b3f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 60 deletions.
26 changes: 11 additions & 15 deletions site/docs/configuration.html
Expand Up @@ -221,26 +221,22 @@ <h2 id="properties">Configuration properties</h2>
<dt><code>extensions</code></dt>
<dd>
<p>
Extensions to load at runtime. The value is an array of strings
understood by the <a href="/docs/module-loader/">buster-module-loader</a> which will be pinged when the
configuration is loaded. In most cases, these strings will be names of
installed NPM packages. If you are interested in developing extensions,
check out <a href="#events">events</a> and the
<a href="/docs/extensions/">extensions page</a> (which also
Extensions to load at runtime. The value is an array of extension
objects which will be pinged when the configuration is loaded. If you
are interested in developing extensions, check
out <a href="/#events">events</a> and the
<a href="../extensions/">extensions page</a> (which also
lists known extensions).
</p>
<p>
To configure an extension, provide an object in place of a string. The
object should have the extension identifier as keys and an object of
options as values:
To configure an extension, add settings under the name of the
extension:
</p>
<pre><code>config["Browser integration tests"] = {
extensions: [
"buster-jstestdriver",
{ "buster-coverage": {
"outputDirectory": "coverage"
}}
]
extensions: [require("buster-jstestdriver"), require("buster-coverage")],
"buster-coverage": {
"outputDirectory": "coverage"
}
};</code></pre>
</dd>
</dl>
Expand Down
4 changes: 0 additions & 4 deletions site/docs/index.html
Expand Up @@ -55,10 +55,6 @@ <h2>Modules</h2>
<td><a href="/docs/format/">buster-format</a></td>
<td>Pretty formatting of complex objects.</td>
</tr>
<tr>
<td><a href="/docs/module-loader/">buster-module-loader</a></td>
<td>Resolves node modules from strings like <code>"module-name#prop-name"</code>.</td>
</tr>
<tr>
<td><a href="/docs/resources/">buster-resources</a></td>
<td>Serialize parts of a file system and serve over a web server.</td>
Expand Down
40 changes: 0 additions & 40 deletions site/docs/module-loader.html

This file was deleted.

2 changes: 1 addition & 1 deletion site/docs/user-agent-parser.html
Expand Up @@ -18,7 +18,7 @@ <h1><code>buster.userAgentParser</code></h1>
Buster.JS uses the user agent parser to display browser name/version in its
test runner.
</p>
<pre><code>var userAgentParser = require("buster-module-loader");
<pre><code>var userAgentParser = require("buster-user-agent-parser");

var ua = "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 " +
"(KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7";
Expand Down

0 comments on commit f663b3f

Please sign in to comment.