Skip to content

Commit

Permalink
added signature regex modification
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeisen committed Aug 21, 2018
1 parent 455ea54 commit 3007f17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/breinify-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -13327,7 +13327,7 @@ dependencyScope.jQuery = $;;
// check which one of the functions can be used
var func = null;
if (containsRegEx) {
var typeRegEx = new RegExp(types.toString(), 'i');
var typeRegEx = new RegExp('^' + types.toString() + '$', 'i');

Object.keys(pointer).forEach(function (key) {
var matches = typeRegEx.exec(key);
Expand Down
Loading

0 comments on commit 3007f17

Please sign in to comment.