damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.42k stars 804 forks source link

Rhino New File Add 'new' to droid=[new] Android() #191

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

New Rhino files created by SL4A are missing the 'new' keyword causing script 
failure.

Change:

  var droid = Android();

to:

  var droid=new Android();

Frank

Original issue reported on code.google.com by frank.we...@gmail.com on 8 Nov 2010 at 5:05

Copied from original issue: damonkohler/android-scripting#474