Skip to content

Commit

Permalink
Fix dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary committed Sep 4, 2014
1 parent 76f8cd6 commit bc265a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions dist/lightrouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@

if (typeof exports !== 'undefined')
{
module.exports = {
LightRouter: factory()
};
module.exports = factory();
}
else
{
Expand Down Expand Up @@ -67,7 +65,7 @@
var namedParam = '([\\w-]+)';
this.namedParam = {
replace: new RegExp(':' + namedParam, 'g'),
match: namedParam,
match: namedParam
};

options = options || {};
Expand Down
2 changes: 1 addition & 1 deletion dist/lightrouter.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bc265a5

Please sign in to comment.