Merge pull request #394 from vroad/nodejs-fix
Fix compile error on nodejs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
package haxe;
|
||||
#if (macro || (!neko && !cpp))
|
||||
#if (macro || (!neko && !cpp && !nodejs))
|
||||
|
||||
|
||||
// Original haxe.Timer class
|
||||
|
||||
@@ -15,7 +15,7 @@ import js.html.CanvasRenderingContext2D;
|
||||
|
||||
@:access(lime.text.Glyph)
|
||||
|
||||
#if !display
|
||||
#if (!display && !nodejs)
|
||||
@:autoBuild(lime.Assets.embedFont())
|
||||
#end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user