JS: fix typo in interop.js
authorJoel Martin <github@martintribe.org>
Mon, 11 Apr 2016 17:15:21 +0000 (12:15 -0500)
committerJoel Martin <github@martintribe.org>
Mon, 11 Apr 2016 17:15:21 +0000 (12:15 -0500)
js/interop.js

index 89da4a6..5cdbb00 100644 (file)
@@ -7,7 +7,7 @@ if (typeof module === 'undefined') {
 
 function resolve_js(str) {
     if (str.match(/\./)) {
-        var re = /^(.*)\.\([^\.]*)$/,
+        var re = /^(.*)\.([^\.]*)$/,
             match = re.exec(str);
         return [eval(match[0]), eval(str)];
     } else {