Add back return in getter

This commit is contained in:
Kevin Sawicki 2016-03-11 11:16:59 -08:00
parent 0e5e230c03
commit 28e9d87d86

View file

@ -191,7 +191,7 @@ var WebViewImpl = (function() {
propertyName = 'on' + eventName.toLowerCase();
return Object.defineProperty(this.webviewNode, propertyName, {
get: () => {
this.on[propertyName];
return this.on[propertyName];
},
set: (value) => {
if (this.on[propertyName]) {