karenjwap

Results 1 comments of karenjwap

Error comes from a syntax change during transpilation. in zxing.js, replace: var sourceRegex=/^function\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/; by: var sourceRegex=/^function\s*\S*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/; worked for me.