Comparing version 0.7.5 to 0.7.6
@@ -53,19 +53,4 @@ /** | ||
{ | ||
let ret = false, | ||
regexEnd = new RegExp( 'function ()', "gm" ), | ||
regex = new RegExp( `class ${parentClassName}`, "gm" ); | ||
while ( ret === false && null === regexEnd.exec( Object.getPrototypeOf( classContructor ).toString() ) ) | ||
{ | ||
if ( null !== regex.exec( Object.getPrototypeOf( classContructor ).toString() ) ) | ||
{ | ||
ret = true; | ||
} | ||
else | ||
{ | ||
classContructor = Object.getPrototypeOf( classContructor ); | ||
} | ||
} | ||
return ret; | ||
// @todo FIX THIS - breaks on webpack in production mode | ||
return true; | ||
} | ||
@@ -954,3 +939,3 @@ | ||
{ | ||
if ( false === isClass( stateClass ) || false === isClassChildOf( stateClass, 'State') ) | ||
if ( false === isClass( stateClass ) || false === isClassChildOf() ) | ||
{ | ||
@@ -1195,3 +1180,3 @@ throw new Error( 'StateManager.addStateClass expects a class/subclass of State.' ); | ||
const VERSION = '0.7.5'; | ||
const VERSION = '0.7.6'; | ||
@@ -1198,0 +1183,0 @@ const DEFAULT_PROPS = { |
@@ -59,19 +59,4 @@ (function (global, factory) { | ||
{ | ||
let ret = false, | ||
regexEnd = new RegExp( 'function ()', "gm" ), | ||
regex = new RegExp( `class ${parentClassName}`, "gm" ); | ||
while ( ret === false && null === regexEnd.exec( Object.getPrototypeOf( classContructor ).toString() ) ) | ||
{ | ||
if ( null !== regex.exec( Object.getPrototypeOf( classContructor ).toString() ) ) | ||
{ | ||
ret = true; | ||
} | ||
else | ||
{ | ||
classContructor = Object.getPrototypeOf( classContructor ); | ||
} | ||
} | ||
return ret; | ||
// @todo FIX THIS - breaks on webpack in production mode | ||
return true; | ||
} | ||
@@ -960,3 +945,3 @@ | ||
{ | ||
if ( false === isClass( stateClass ) || false === isClassChildOf( stateClass, 'State') ) | ||
if ( false === isClass( stateClass ) || false === isClassChildOf() ) | ||
{ | ||
@@ -1201,3 +1186,3 @@ throw new Error( 'StateManager.addStateClass expects a class/subclass of State.' ); | ||
const VERSION = '0.7.5'; | ||
const VERSION = '0.7.6'; | ||
@@ -1204,0 +1189,0 @@ const DEFAULT_PROPS = { |
{ | ||
"name": "infrontjs", | ||
"version": "0.7.5", | ||
"version": "0.7.6", | ||
"description": "The progressive frontend framework.", | ||
@@ -5,0 +5,0 @@ "main": "src/IF.js", |
@@ -11,3 +11,3 @@ import { PropertyObject } from "./PropertyObject.js"; | ||
const VERSION = '0.7.5'; | ||
const VERSION = '0.7.6'; | ||
@@ -14,0 +14,0 @@ const DEFAULT_PROPS = { |
@@ -53,2 +53,5 @@ /** | ||
{ | ||
// @todo FIX THIS - breaks on webpack in production mode | ||
return true; | ||
let ret = false, | ||
@@ -55,0 +58,0 @@ regexEnd = new RegExp( 'function ()', "gm" ), |
122458
3671