Rename Globals.FINDER to Globals.finder.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user