Comparing version 1.0.7 to 1.0.8
@@ -8,7 +8,8 @@ 'use strict'; | ||
function normalizedFunctionString(fn) { | ||
return fn.toString().replace('function(', 'function ('); | ||
return fn.toString().replace(/function *\(/, 'function ('); | ||
} | ||
module.exports = { | ||
normalizedFunctionString | ||
normalizedFunctionString: normalizedFunctionString | ||
}; | ||
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"author": "Christian Amor Kvalheim <christkv@gmail.com>", | ||
@@ -18,0 +18,0 @@ "contributors": [], |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
754611