rhine-var
Version:
Variables that support multi-user collaboration and persistence, making collaboration and variable operations as simple as possible, with strict and well-defined type hints.
22 lines (21 loc) • 648 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class SupportBase {
static hasProperty(key) {
if (this.SUPPORTED_PROPERTIES.has(key)) {
return true;
}
if (this.UNSUPPORTED_PROPERTIES.has(key)) {
console.warn('Unsupported property for ' + this.TARGET_TAG + ':', key);
return true;
}
return false;
}
static convertProperty(key, object) {
return null;
}
}
SupportBase.TARGET_TAG = 'RhineVar';
SupportBase.SUPPORTED_PROPERTIES = new Set([]);
SupportBase.UNSUPPORTED_PROPERTIES = new Set([]);
exports.default = SupportBase;