Skip to content

Commit 3007f17

Browse files
committed
added signature regex modification
1 parent 455ea54 commit 3007f17

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/breinify-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13327,7 +13327,7 @@ dependencyScope.jQuery = $;;
1332713327
// check which one of the functions can be used
1332813328
var func = null;
1332913329
if (containsRegEx) {
13330-
var typeRegEx = new RegExp(types.toString(), 'i');
13330+
var typeRegEx = new RegExp('^' + types.toString() + '$', 'i');
1333113331

1333213332
Object.keys(pointer).forEach(function (key) {
1333313333
var matches = typeRegEx.exec(key);

0 commit comments

Comments
 (0)