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
However, inside the rmx-link element the href attribute is equal to the value of myid without the /foo/ prefix. Here is an jsfiddle: http://jsfiddle.net/wereHamster/j7a5d/2/. I would expect to see '/foo/1234' in the page but I only see '1234'.
This used to work in earlier versions. The jsfiddle uses the latest versions from the polymer/platform and polymer/polymer repositories.
The text was updated successfully, but these errors were encountered:
It seems as if ObserverTransform#getValue is buggy. It should not return observable_.getValue() but instead this.value_. With this change, the sample code in jsfiddle works as expected.
The ObserverTransform getValueFn_ function is the token combinator which converts the href tokens ("/foo/",Path) into the proper value. The observable_ of the transformer is the PathObserver which observes myid. Calling observable_.getValue() returns the myid string. That is the wrong implementation of the ObserverTransform getValue function.
I have the following code:
However, inside the rmx-link element the
href
attribute is equal to the value of myid without the /foo/ prefix. Here is an jsfiddle: http://jsfiddle.net/wereHamster/j7a5d/2/. I would expect to see '/foo/1234' in the page but I only see '1234'.This used to work in earlier versions. The jsfiddle uses the latest versions from the polymer/platform and polymer/polymer repositories.
The text was updated successfully, but these errors were encountered: