Fix maven example code to match API changes.

This commit is contained in:
James Roseborough
2014-01-02 08:17:08 +00:00
parent 25a5e98fe0
commit 48a214fc20
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ public class App
Globals globals = JsePlatform.standardGlobals();
// Use the convenience function on the globals to load a chunk.
LuaValue chunk = globals.loadString(script, "maven-exmaple");
LuaValue chunk = globals.load(script, "maven-exmaple");
// Use any of the "call()" or "invoke()" functions directly on the chunk.
chunk.call();