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

[0.8-preview] x-repeat standalone issue #1192

Closed
frankiefu opened this issue Feb 13, 2015 · 2 comments
Closed

[0.8-preview] x-repeat standalone issue #1192

frankiefu opened this issue Feb 13, 2015 · 2 comments
Assignees

Comments

@frankiefu
Copy link
Member

<!doctype html>
<html>
<head>
  <title></title>
  <meta charset="utf-8">
  <link rel="import" href="../../neoprene/components/polymer/polymer.html">
</head>
<body>

<template is="x-repeat" id="repeat">
  <div>{{id}}</div>
</template>

<script>

  var t = document.querySelector('#repeat');
  t.items = [{id: 0}, {id: 1}, {id: 2}];

</script>

</body>
</html>

got error: Uncaught TypeError: Cannot set property '_ctor' of undefined templatizer.html:54

@sjmiles sjmiles self-assigned this Feb 14, 2015
sjmiles pushed a commit that referenced this issue Feb 14, 2015
sjmiles pushed a commit that referenced this issue Feb 14, 2015
sjmiles pushed a commit that referenced this issue Feb 17, 2015
@nevir nevir closed this as completed Feb 19, 2015
@lucyllewy
Copy link

diggin-up an old issue. I am getting this specific error on a Universal Windows App that I'm attempting to build - it seems that even with the check on line 103 thru 105 that template.content is also undefined so the test is assigning the undefined template.content instead of the undefined template._content - as both are undefined then _ctor still cannot be accessed when using the code as it stands. I am unclear why template.content and template._content are BOTH undefined though so I can't really help with that bit of diagnosis.

(that was written terribly by myself, I hope you can figure out what I mean, otherwise ask and I shall attempt to elaborate)

@lucyllewy
Copy link

ok I think it's safe to ignore me - I have got further by changing my polyfill reference from webcomponents-lite.js to webcomponents.js

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