1
0
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:
Doug Kearns
2015-06-18 18:20:48 +10:00
parent cd7a8eeda9
commit d3cb216478
3 changed files with 7 additions and 4 deletions

View File

@@ -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)