From: Jay Freeman (saurik) Date: Mon, 11 Jan 2016 19:15:08 +0000 (-0800) Subject: Temporarily remove Number.toCYON: way too verbose. X-Git-Tag: v0.9.590~2 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/e935ae44a765cee012d2445a6a5edc8ffbb9de76?ds=inline Temporarily remove Number.toCYON: way too verbose. --- diff --git a/libcycript.cy b/libcycript.cy index 8240a44..6b9e779 100644 --- a/libcycript.cy +++ b/libcycript.cy @@ -72,7 +72,8 @@ $cy_set(Error.prototype, { $cy_set(Number.prototype, { toCYON: function() { if ("$cyt" in this) - return `${this.$cyt.toCYON()}(${this.toString()})`; + //return `${this.$cyt.toCYON()}(${this.toString()})`; + return this.toString(); return `new Number(${this.toString()})`; }, });