# HG changeset patch # User Drew Perttula # Date 2016-05-30 20:59:42 # Node ID ace07d2e971fd9bad96e11438ca4b6b47960d2d3 # Parent 052e31de680c07dd71dea80091246bd3048b5c94 don't use 'this' as an attribute name Ignore-this: 498ade272028afa2e03fdefa982826f diff --git a/light9/web/live.html b/light9/web/live.html --- a/light9/web/live.html +++ b/light9/web/live.html @@ -23,11 +23,12 @@ properties: { status: {type: String, value: 'init'}, clientSession: {value: ""+Date.now()}, - this: {type: Object, notify: true} + self: {type: Object, notify: true} }, ready: function() { + this.self = this; var self = this; - self.this = self; + self.$.put.addEventListener( 'error', function() { self.status = 'err'; }); self.$.put.addEventListener( @@ -111,7 +112,7 @@