add: circular menu alpha and limited in screen

This commit is contained in:
hyb1996
2017-12-05 22:26:53 +08:00
parent e9346f0794
commit 02ec8f7fb5
20 changed files with 18 additions and 102 deletions

View File

@@ -39,7 +39,7 @@ module.exports = function(__runtime__, scope){
}
console.show = rtConsole.show.bind(rtConsole);
console.hide = rtConsole.show.bind(rtConsole);
console.hide = rtConsole.hide.bind(rtConsole);
console.clear = rtConsole.clear.bind(rtConsole);
console.setTitle = rtConsole.setTitle.bind(rtConsole);

View File

@@ -163,6 +163,7 @@ module.exports = function(runtime, scope){
r.body = {};
var body = res.body();
r.body.string = body.string.bind(body);
r.body.bytes = body.bytes.bind(body);
r.body.json = function(){
return JSON.parse(r.body.string());
}

View File

@@ -26,7 +26,6 @@ public class ExampleUnitTest {
@Test
public void test() throws IOException {
MimeTypeMap.getSingleton().getMimeTypeFromExtension();
File file = new File("C:\\Users\\Stardust\\Desktop\\1.txt");
System.out.println(PFiles.read(file));
String url = "http://posttestserver.com/post.php?dir=example";