Skip to content

Commit

Permalink
1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Jun 7, 2018
1 parent 295ef9a commit 889799b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions browser_build/bson.js
Original file line number Diff line number Diff line change
Expand Up @@ -17579,11 +17579,11 @@ return /******/ (function(modules) { // webpackBootstrap
*/

function normalizedFunctionString(fn) {
return fn.toString().replace('function(', 'function (');
return fn.toString().replace(/function *\(/, 'function (');
}

module.exports = {
normalizedFunctionString
normalizedFunctionString: normalizedFunctionString
};

/***/ }),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"browser_build",
"bower.json"
],
"version": "1.0.7",
"version": "1.0.8",
"author": "Christian Amor Kvalheim <christkv@gmail.com>",
"contributors": [],
"repository": "mongodb/js-bson",
Expand Down

0 comments on commit 889799b

Please sign in to comment.