Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -1,5 +1,5 @@
/** Used to resolve the decompiled source of functions. */
const funcToString = Function.prototype.toString;
const funcToString = Function.prototype.toString
/**
* Converts `func` to its source code.
@@ -11,13 +11,13 @@ const funcToString = Function.prototype.toString;
function toSource(func) {
if (func != null) {
try {
return funcToString.call(func);
return funcToString.call(func)
} catch (e) {}
try {
return `${ func }`;
return `${ func }`
} catch (e) {}
}
return '';
return ''
}
export default toSource;
export default toSource