mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-11 15:25:47 +01:00
Prevent infinite loops when trying to execute mappings recursively.
This commit is contained in:
@@ -769,7 +769,8 @@ Class.prototype = {
|
||||
toString: function () {
|
||||
if (this.toStringParams)
|
||||
var params = "(" + this.toStringParams.map(function (m) isArray(m) ? "[" + m + "]" :
|
||||
isString(m) ? m.quote() : String(m)) + ")";
|
||||
isString(m) ? m.quote() : String(m))
|
||||
.join(", ") + ")";
|
||||
return "[instance " + this.constructor.className + (params || "") + "]";
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user