From ae9e74a04e8d96387882c5308bd1c851b74e3d5c Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Wed, 17 May 2017 17:50:51 -0700 Subject: [PATCH] Remove deprecated assetsPrefix parameter --- lime/app/Config.hx | 3 --- lime/system/System.hx | 13 ------------- 2 files changed, 16 deletions(-) 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;