Skip to content

Commit

Permalink
Correctly generate inquiry function for browser.
Browse files Browse the repository at this point in the history
Correctly generate the inquiry function when the module is invoke using
a browser include.

Closes #65.
  • Loading branch information
flatheadmill committed Feb 14, 2014
1 parent 56e8a87 commit a21fcab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
@@ -1,5 +1,5 @@
! function (definition) {
if (typeof window != "undefined") window.inquiry = definition;
if (typeof window != "undefined") window.inquiry = definition();
else if (typeof define == "function") define(definition);
else module.exports = definition();
} (function () {
Expand Down
1 change: 1 addition & 0 deletions release.md
@@ -1,6 +1,7 @@
### Issue by Issue

* Get tests to pass again. #67.
* Correctly generate inquiry function for browser. #65.
* Upgrade Proof to 0.0.42. #64.
* Add repository type to `package.json`. #63.
* Update `LICENSE` for 2014. #62.
Expand Down

0 comments on commit a21fcab

Please sign in to comment.