You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The databind-struct example raises this error, below. Similar errors are raised in the notify and computed-property examples. The other examples run just fine, even though they also use Notify(), and I haven't figured out why.
Uncaught TypeError: Cannot read property 'testStruct' of undefined
at HTMLElement._propertySetter (polymer.html:formatted:1405)
at HTMLElement.setter (polymer.html:formatted:1495)
at HTMLElement.set (polymer.html:formatted:2154)
at Object.$packages.github.com/PalmStoneGames/polymer.BY.ptr.doNotify (proto.go:87)
at Object.$packages.github.com/PalmStoneGames/polymer.BY.ptr.Notify (proto.go:82)
at $b (main.go:30)
at $goroutine (databind-struct.js:4)
at $runScheduled (databind-struct.js:4)
at $schedule (databind-struct.js:4)
at $go (databind-struct.js:4)
at Object.$packages.github.com/PalmStoneGames/polymer/examples/databind-struct.D.ptr.Created (main.go:24)
at $b (callbacks.go:62)
at HTMLElement.created (databind-struct.js:4)
at HTMLElement.__initialize (polymer-micro.html:232)
at HTMLElement.createdCallback (polymer-micro.html:217)
at window.Polymer (polymer-micro.html:62)
at CN (register.go:240)
at CM (register.go:202)
at v.$externalizeWrapper (databind-struct.js:4)
at webcomponents-lite.min.js:12
If in the databind-struct example I change t.Created() to be t.Ready() instead, it works fine. Is this expected? I'm going to proceed forward in my own code with the assumption that we want to reach Ready() before we try to do anything useful with the struct. I'm happy to update the examples as needed, but I want to be sure that I'm not hitting something unexpected.
The
databind-struct
example raises this error, below. Similar errors are raised in thenotify
andcomputed-property
examples. The other examples run just fine, even though they also useNotify()
, and I haven't figured out why.My versions:
The text was updated successfully, but these errors were encountered: