We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f39acbd commit fba4915Copy full SHA for fba4915
lib/core/plugin.js
@@ -49,6 +49,10 @@ Plugin.prototype.isContextValid = function() {
49
});
50
};
51
52
+Plugin.prototype.hasContext = function(context) {
53
+ return this.currentContext.includes(context);
54
+};
55
+
56
Plugin.prototype.loadPlugin = function() {
57
if (!this.isContextValid()) {
58
console.log(this.acceptedContext);
0 commit comments