Add 'lime.AppFileName.embed' as a temporary patch for multiple embeds on the same HTML page

This commit is contained in:
Joshua Granick
2016-12-22 12:28:58 -08:00
parent e059593a0b
commit 1ea331e47a

View File

@@ -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) {