Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template bind="x as y" doesn't work on safari #450

Closed
kkvlk opened this issue Mar 18, 2014 · 3 comments
Closed

template bind="x as y" doesn't work on safari #450

kkvlk opened this issue Mar 18, 2014 · 3 comments
Assignees

Comments

@kkvlk
Copy link

kkvlk commented Mar 18, 2014

Hi guys, I have the following code working perfectly in Chrome but not in latest Safari:

<template bind="{{property.tax as tax}}">
  <td>{{tax.built_year}}</td>
  <td>{{tax.beds_count}}</td>
  <td>{{tax.baths_count}}</td>
  <td>{{tax.square_footage}}</td>
  <td>{{tax.lot_size}}</td>
</template>

-Kris

@arv
Copy link
Contributor

arv commented Mar 24, 2014

Which version of Safari are you using?

For older versions of WebKit there is no template element so you have to use semantic template elements,

<tr template bind="{{property.tax as tax}}">
...

@rafaelw
Copy link
Contributor

rafaelw commented Mar 24, 2014

I believe this functionality is covered by tests and they all currently
pass in Safari. Can you please construct a failing JSBin example and
specify which version of Safari you see failing?

On Mon, Mar 24, 2014 at 10:10 AM, Erik Arvidsson
notifications@github.comwrote:

Which version of Safari are you using?

For older versions of WebKit there is no template element so you have to
use semantic template elements,

...


Reply to this email directly or view it on GitHubhttps://github.com//issues/450#issuecomment-38471779
.

@tjsavage
Copy link
Contributor

Looks to be fixed via Arv's solution. Closing here, feel free to re-open if still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants