Dead-Code-Elimination fix

This commit is contained in:
Joshua Granick
2015-01-09 12:59:11 -08:00
parent faf4fd71ab
commit 633cd9c772

View File

@@ -659,7 +659,7 @@ class DefaultAssetLibrary extends AssetLibrary {
#else
#if openfl
::if (assets != null)::::foreach assets::::if (type == "font")::class __ASSET__::flatName:: extends openfl.text.Font { public function new () { super (); __fontPath = "::targetPath::"; fontName = "::fontName::"; }}
::if (assets != null)::::foreach assets::::if (type == "font")::@:keep class __ASSET__::flatName:: extends openfl.text.Font { public function new () { super (); __fontPath = "::targetPath::"; fontName = "::fontName::"; }}
::end::::end::::end::
#end