mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 22:24:13 +01:00
Get rid of absurd Map#route flag. Consolodate some constants.
This commit is contained in:
@@ -766,7 +766,12 @@ Class.prototype = {
|
||||
}
|
||||
},
|
||||
|
||||
toString: function () "[instance " + this.constructor.className + "]",
|
||||
toString: function () {
|
||||
if (this.toStringParams)
|
||||
var params = "(" + this.toStringParams.map(function (m) isArray(m) ? "[" + m + "]" :
|
||||
isString(m) ? m.quote() : String(m)) + ")";
|
||||
return "[instance " + this.constructor.className + (params || "") + "]";
|
||||
},
|
||||
|
||||
/**
|
||||
* Executes *callback* after *timeout* milliseconds. The value of
|
||||
|
||||
Reference in New Issue
Block a user