diff --git a/haxe/Timer.hx b/haxe/Timer.hx index 344eb7202..73d1d0372 100644 --- a/haxe/Timer.hx +++ b/haxe/Timer.hx @@ -1,5 +1,5 @@ package haxe; -#if (macro || (!neko && !cpp)) +#if (macro || (!neko && !cpp && !nodejs)) // Original haxe.Timer class diff --git a/lime/text/Font.hx b/lime/text/Font.hx index 9b0bfa6b3..f153a77dd 100644 --- a/lime/text/Font.hx +++ b/lime/text/Font.hx @@ -15,7 +15,7 @@ import js.html.CanvasRenderingContext2D; @:access(lime.text.Glyph) -#if !display +#if (!display && !nodejs) @:autoBuild(lime.Assets.embedFont()) #end