Skip to content

Commit

Permalink
fix for js
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Feb 16, 2022
1 parent 457da7c commit 0dd4342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions domkit/CssStyle.hx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class CssData {
public static var COMPONENTS = [];

public var rules : Array<Rule>;
public var bytesSize : Int;
public var bytesSize : Int = 0;
public var needsInit = false;

var rulesByComp : #if hl BytesMap<Array<Rule>> #else Map<String,Array<Rule>> #end;
Expand Down Expand Up @@ -245,7 +245,7 @@ class CssStyle {
public var useSmartCache = true;
var currentTransitions : Array<CssTransition> = [];
var componentsBits : FastBytes;
var compSize : Int;
var compSize : Int = 0;

public function new() {
data = new CssData();
Expand Down

0 comments on commit 0dd4342

Please sign in to comment.