updated examples

This commit is contained in:
Kevin Jahns
2015-04-30 14:15:48 +02:00
parent 8a5b69e86c
commit 4d926cf841
18 changed files with 256 additions and 205 deletions

View File

@@ -1,3 +1,5 @@
<script src="../../build/browser/y.js"></script>
<script src="../../../y-text/build/browser/y-text.js"></script>
<link rel="import" href="../../build/browser/y-object.html">
<link rel="import" href="../../../y-xmpp/build/browser/y-xmpp.html">
<link rel="import" href="../../../paper-slider/paper-slider.html">
@@ -28,7 +30,7 @@
var that = this;
this.connector.whenSynced(function(){
if(that.y.val("text") == null){
that.y.val("text","stuff","mutable");
that.y.val("text",Y.Text("stuff"));
}
that.y.val("text").bind(that.$.text,that.shadowRoot)
})
@@ -52,4 +54,4 @@
}
})
</script>
</polymer-element>
</polymer-element>