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.)
This commit is contained in:
@@ -33,7 +33,7 @@ import sys.FileSystem;
|
|||||||
|
|
||||||
rootPath = Reflect.field (config, "rootPath");
|
rootPath = Reflect.field (config, "rootPath");
|
||||||
|
|
||||||
if(!StringTools.endsWith(rootPath, "/")) {
|
if(!StringTools.endsWith (rootPath, "/")) {
|
||||||
|
|
||||||
rootPath += "/";
|
rootPath += "/";
|
||||||
|
|
||||||
@@ -79,9 +79,9 @@ import sys.FileSystem;
|
|||||||
Assets.registerLibrary ("::library::", library);
|
Assets.registerLibrary ("::library::", library);
|
||||||
::else::Assets.libraryPaths["::library::"] = rootPath + "::resourceName::";
|
::else::Assets.libraryPaths["::library::"] = rootPath + "::resourceName::";
|
||||||
::end::::end::::if (type == "bundle")::::if (embed)::
|
::end::::end::::if (type == "bundle")::::if (embed)::
|
||||||
bundle = AssetBundle.fromBytes(#if flash Bytes.ofData(new __ASSET__::flatName::() #else new __ASSET__::flatName::() #end));
|
bundle = AssetBundle.fromBytes (#if flash Bytes.ofData (new __ASSET__::flatName:: () #else new __ASSET__::flatName:: () #end));
|
||||||
library = AssetLibrary.fromBundle(bundle);
|
library = AssetLibrary.fromBundle (bundle);
|
||||||
Assets.registerLibrary("::library::", library);
|
Assets.registerLibrary ("::library::", library);
|
||||||
::else::Assets.bundlePaths["::library::"] = rootPath + "::resourceName::";
|
::else::Assets.bundlePaths["::library::"] = rootPath + "::resourceName::";
|
||||||
::end::::end::::end::::end::
|
::end::::end::::end::::end::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user