Skip to content

Commit

Permalink
Fix dom-bind example at templates devguide
Browse files Browse the repository at this point in the history
Proposed solution for Polymer#1275
  • Loading branch information
tomalec committed Jul 27, 2015
1 parent 15f9e79 commit 7a78a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 1.0/docs/devguide/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,11 @@ itself as the binding scope.

<!-- Wrap elements with auto-binding template to -->
<!-- allow use of Polymer bindings in main document -->
<template is="dom-bind">
<template id="t" is="dom-bind">

<iron-ajax url="http://..." last-response="{{data}}"></iron-ajax>

<template id="t" is="dom-repeat" items="{{data}}">
<template is="dom-repeat" items="{{data}}">
<div><span>{{item.first}}</span> <span>{{item.last}}</span></div>
</template>

Expand Down

0 comments on commit 7a78a77

Please sign in to comment.