Add 'lime.AppFileName.embed' as a temporary patch for multiple embeds on the same HTML page
This commit is contained in:
@@ -115,6 +115,13 @@ class ApplicationMain {
|
||||
|
||||
|
||||
#if (js && html5)
|
||||
@:keep @:expose("lime.::APP_FILE::.embed")
|
||||
public static function __embed (element:Dynamic, width:Null<Int> = null, height:Null<Int> = null, background:String = null, assetsPrefix:String = null) {
|
||||
|
||||
embed (element, width, height, background, assetsPrefix);
|
||||
|
||||
}
|
||||
|
||||
@:keep @:expose("lime.embed")
|
||||
public static function embed (element:Dynamic, width:Null<Int> = null, height:Null<Int> = null, background:String = null, assetsPrefix:String = null) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user