Skip to content

Commit

Permalink
Fix safari 7 again
Browse files Browse the repository at this point in the history
Can't use `translate` as a function
  • Loading branch information
dfreedm committed Mar 29, 2016
1 parent b0b4925 commit b30f962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/bind-elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -689,15 +689,15 @@
<dom-module id="x-child-template-with-dynamic-fn">
<template>
<template is="dom-if" if="[[visible]]">
<p>[[translate('text')]]</p>
<p>[[translateMessage('text')]]</p>
</template>
</template>
<script>
Polymer({
is: 'x-child-template-with-dynamic-fn',

properties: {
translate: {
translateMessage: {
type: Function,
value: function () {
return function(str) {
Expand Down

0 comments on commit b30f962

Please sign in to comment.