mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 07:22:27 +01:00
Make isinstance() and template.highlight Symbol aware.
This commit is contained in:
@@ -646,7 +646,8 @@ var isinstance_types = {
|
||||
boolean: Boolean,
|
||||
string: String,
|
||||
function: Function,
|
||||
number: Number
|
||||
number: Number,
|
||||
symbol: Symbol
|
||||
};
|
||||
function isinstance(object, interfaces) {
|
||||
if (object == null)
|
||||
|
||||
Reference in New Issue
Block a user