@lightningtv/core
Advanced tools
Comparing version 2.3.0-beta.3 to 2.3.0-beta.4
@@ -20,3 +20,4 @@ import { isArray, isString } from './utils.js'; | ||
has(state) { | ||
return this.indexOf(state) >= 0; | ||
// temporary check for $ prefix | ||
return this.indexOf(state) >= 0 || this.indexOf(`$${state}`) >= 0; | ||
} | ||
@@ -23,0 +24,0 @@ is(state) { |
{ | ||
"name": "@lightningtv/core", | ||
"version": "2.3.0-beta.3", | ||
"version": "2.3.0-beta.4", | ||
"description": "Lightning TV Core for Universal Renderers", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -30,3 +30,4 @@ import { isArray, isString } from './utils.js'; | ||
has(state: DollarString) { | ||
return this.indexOf(state) >= 0; | ||
// temporary check for $ prefix | ||
return this.indexOf(state) >= 0 || this.indexOf(`$${state}`) >= 0; | ||
} | ||
@@ -33,0 +34,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
217637
3294