Created
January 16, 2013 10:17
-
-
Save arendjr/4546134 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tie = new LacesTie(model, | |
'<p><label>Name:</label> <span data-laces="{ property: selectedRoom.name, editable: true }"></span></p>' + | |
'<p><label>Description:</label> <span data-laces="{ property: selectedRoom.description, editable: true }"></span></p>' | |
); | |
document.body.appendChild(tie.render()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment