From fd89a87dfb3370531944c78f65bc48114ed6a120 Mon Sep 17 00:00:00 2001 From: player-03 Date: Mon, 29 Mar 2021 05:25:00 -0400 Subject: [PATCH] Standardize formatting This file isn't entirely consistent with the rest of Lime, but it is self-consistent and I think we should keep it that way. (I fixed a few unrelated lines while I was at it. I know it makes the pull request less tidy, but I wanted to confine simple formatting changes to a single commit.) --- templates/haxe/ManifestResources.hx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/haxe/ManifestResources.hx b/templates/haxe/ManifestResources.hx index dd38e2fd1..a31b99ae1 100644 --- a/templates/haxe/ManifestResources.hx +++ b/templates/haxe/ManifestResources.hx @@ -33,7 +33,7 @@ import sys.FileSystem; rootPath = Reflect.field (config, "rootPath"); - if(!StringTools.endsWith(rootPath, "/")) { + if(!StringTools.endsWith (rootPath, "/")) { rootPath += "/"; @@ -79,9 +79,9 @@ import sys.FileSystem; Assets.registerLibrary ("::library::", library); ::else::Assets.libraryPaths["::library::"] = rootPath + "::resourceName::"; ::end::::end::::if (type == "bundle")::::if (embed):: - bundle = AssetBundle.fromBytes(#if flash Bytes.ofData(new __ASSET__::flatName::() #else new __ASSET__::flatName::() #end)); - library = AssetLibrary.fromBundle(bundle); - Assets.registerLibrary("::library::", library); + bundle = AssetBundle.fromBytes (#if flash Bytes.ofData (new __ASSET__::flatName:: () #else new __ASSET__::flatName:: () #end)); + library = AssetLibrary.fromBundle (bundle); + Assets.registerLibrary ("::library::", library); ::else::Assets.bundlePaths["::library::"] = rootPath + "::resourceName::"; ::end::::end::::end::::end::