From 152ba59adff563043950e689055047a4ffea596c Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Wed, 7 Sep 2016 15:17:27 -0700 Subject: [PATCH] Cleanup --- lime/system/Locale.hx | 15 +-------------- templates/haxe/ApplicationMain.hx | 3 --- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/lime/system/Locale.hx b/lime/system/Locale.hx index 657a63d80..3f2f8ae34 100644 --- a/lime/system/Locale.hx +++ b/lime/system/Locale.hx @@ -18,8 +18,7 @@ abstract Locale(String) from String to String { public var region (get, never):String; - private static function __init__ ():Void { __init (); } - private static function __init ():Void { + private static function __init__ ():Void { var locale = null; @@ -157,16 +156,4 @@ abstract Locale(String) from String to String { } - - - // Native Methods - - - - - #if (lime_cffi && !macro) - @:noCompletion private static var lime_locale_get_system_locale = CFFI.load ("lime", "lime_locale_get_system_locale", 0); - #end - - } \ No newline at end of file diff --git a/templates/haxe/ApplicationMain.hx b/templates/haxe/ApplicationMain.hx index aedbec2ef..3922b005f 100644 --- a/templates/haxe/ApplicationMain.hx +++ b/templates/haxe/ApplicationMain.hx @@ -3,7 +3,6 @@ import lime.Assets; @:access(lime.app.Application) -@:access(lime.system.Locale) class ApplicationMain { @@ -17,8 +16,6 @@ class ApplicationMain { public static function create ():Void { - lime.system.Locale.__init (); - preloader = new ::if (PRELOADER_NAME != "")::::PRELOADER_NAME::::else::lime.app.Preloader::end:: (); #if !munit