Nothing.
This commit is contained in:
parent
238505bbca
commit
ae50d252bb
@ -78,8 +78,9 @@ public class CodeRunner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows use of Math.blah() as just blah().
|
* Allows use of Math.blah() as just blah(). Also gives access to SyMAT Java
|
||||||
* Also gives access to SyMAT Java functions.
|
* functions.
|
||||||
|
*
|
||||||
* @param eval input string
|
* @param eval input string
|
||||||
* @return wrapped input
|
* @return wrapped input
|
||||||
*/
|
*/
|
||||||
@ -112,4 +113,13 @@ public class CodeRunner {
|
|||||||
}
|
}
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Run Javascript in separate thread from rest of app.
|
||||||
|
private class JsThread extends Thread {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -48,4 +48,11 @@ public class PrefStorage {
|
|||||||
public static String getSetting(String key, String emptyResponse) {
|
public static String getSetting(String key, String emptyResponse) {
|
||||||
return prefs.get(key, emptyResponse);
|
return prefs.get(key, emptyResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// xkcd 221 compliance.
|
||||||
|
int getRandomNumber()
|
||||||
|
{
|
||||||
|
return 4; // chosen by fair dice roll.
|
||||||
|
// guaranteed to be random.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user