Rename Globals.FINDER to Globals.finder.

This commit is contained in:
James Roseborough
2014-03-09 18:00:40 +00:00
parent e9ee95fd58
commit a6105d5f62
10 changed files with 20 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ public class LuajView extends View implements ResourceFinder {
public LuajView(Context context) {
super(context);
this.globals = JsePlatform.standardGlobals();
this.globals.FINDER = this;
this.globals.finder = this;
}
// Implement a finder that loads from the assets directory.

View File

@@ -86,7 +86,7 @@ public class SampleApplet extends Applet implements ResourceFinder {
LuaC.install(globals);
// Use custom resource finder.
globals.FINDER = this;
globals.finder = this;
// Look up and save the handy pcall method.
pcall = globals.get("pcall");