Skip to content

Commit

Permalink
whitespace and style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
makeusabrew committed Sep 25, 2016
1 parent 66ce0af commit 3ce51bb
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions bootbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
if(typeof($) === "undefined")
{
module.exports = factory(require("jquery"));
}
else
{
module.exports = factory($);
}

if (typeof $ === "undefined") {
module.exports = factory(require("jquery"));
} else {
module.exports = factory($);
}

} else {
// Browser globals (root is window)
Expand Down

0 comments on commit 3ce51bb

Please sign in to comment.