save works

This commit is contained in:
hyb1996
2018-10-11 16:15:40 +08:00
parent 253b88b152
commit b42e440fff
6 changed files with 287 additions and 19 deletions

View File

@@ -196,6 +196,7 @@ module.exports = function (runtime, global) {
}
function decorate(view) {
return view;
var javaObject = view;
var view = global.events.__asEmitter__(Object.create(view));
view.__javaObject__ = javaObject;