Also, see https://github.com/Polymer/docs/issues/225


On Wed, Jan 8, 2014 at 12:34 PM, Erik Arvidsson <[email protected]> wrote:

> These are now read through the instance instead of through the
> constructor. Try this:
>
> PolymerExpressions.prototype.upObject = function(value) { ... };
>
> Below is the link to the tests:
>
>
> https://github.com/Polymer/polymer-expressions/blob/master/tests/tests.js#L96
>
>
>
>
> On Wed, Jan 8, 2014 at 11:58 AM, Nicolas Bouthors <
> [email protected]> wrote:
>
>> I used to be able to add a filter in PolymerExpression doing
>> PolymerExpressions.filters.upObject = function() {
>>     return {
>>       toDOM: function(value) {
>>         var parts = [];
>>         console.log("I see value", value);
>>         for (var key in value) {
>>
>>           parts.push(dict[key].toUpperCase())
>>         }
>>         return parts.join('; ');
>>       }
>>     };
>>   };
>>
>> It does not seem possible anymore, as PolymerExpressions.filters does not
>> seem reachable anymore. Is there another way ?  It did sound to me as a
>> nice feature to be able to create your own filters.
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Polymer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> erik
>
>
>


-- 
erik

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to