Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<html>
<head>
  <meta charset="utf-8">
  <base href="http://golowan.org/stuff/bower_components/">
  <script href="webcomponentsjs/webcomponents-lite.js"></script>
  <link rel="import" href="firebase-element/firebase-document.html">
  <link rel="import" href="firebase-element/firebase-collection.html">
</head>
<body>
  <template is="dom-bind" id="app">
    <put-data></put-data>
  </template>
  <dom-module id="put-data">
    <template>
      <firebase-document data="{{a}}"
                location="https://positions.firebaseio-demo.com">
      </firebase-document>
      
      <span>{{put('google:1234', 'One' )}}</span>
      <br />
      Here it is <span>{{a.google:1234}}</span>
      <br />
      <span>{{put('4321','Two')}}</span>
      <br />
      Here it is <span>{{a.4321}}</span>
  </template>
</dom-module>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
marcus7777pro
0viewers