diff --git a/lime/app/Config.hx b/lime/app/Config.hx index 58a00086b..69e603437 100644 --- a/lime/app/Config.hx +++ b/lime/app/Config.hx @@ -3,9 +3,6 @@ package lime.app; typedef Config = { - #if ((js && html5) && lime < "5.0.0") - @:deprecated @:optional var assetsPrefix:String; - #end @:optional var build:String; @:optional var company:String; @:optional var file:String; diff --git a/lime/system/System.hx b/lime/system/System.hx index 8cb6f37fe..6466748d7 100644 --- a/lime/system/System.hx +++ b/lime/system/System.hx @@ -142,23 +142,10 @@ class System { if (Reflect.field (config.windows[0], "rootPath")) { config.rootPath = Reflect.field (config.windows[0], "rootPath"); - #if (lime < "5.0.0") - Reflect.setField (config, "assetsPrefix", config.rootPath); - #end Reflect.deleteField (config.windows[0], "rootPath"); } - #if (lime < "5.0.0") - if (Reflect.field (config.windows[0], "assetsPrefix")) { - - config.rootPath = Reflect.field (config.windows[0], "assetsPrefix"); - Reflect.setField (config, "assetsPrefix", config.rootPath); - Reflect.deleteField (config.windows[0], "assetsPrefix"); - - } - #end - config.windows[0].element = htmlElement; config.windows[0].width = width; config.windows[0].height = height;