Index: polymer_1.0.4/bower_components/firebase-element/demo/index.html |
diff --git a/polymer_1.0.4/bower_components/firebase-element/demo/index.html b/polymer_1.0.4/bower_components/firebase-element/demo/index.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..28c6c7591adfc02eaf0bb4bb93a02b6de2b1628c |
--- /dev/null |
+++ b/polymer_1.0.4/bower_components/firebase-element/demo/index.html |
@@ -0,0 +1,60 @@ |
+<!doctype html> |
+<!-- |
+@license |
+Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt |
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt |
+Code distributed by Google as part of the polymer project is also |
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt |
+--> |
+ |
+<html> |
+<head> |
+ |
+ <meta charset="utf-8"> |
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
+ <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes"> |
+ |
+ <title>Firebase Element Demos</title> |
+ |
+ <script src="../../webcomponentsjs/webcomponents-lite.js"></script> |
+ <link rel="import" href="../../paper-styles/paper-styles.html"> |
+ <link rel="import" href="../../paper-styles/demo-pages.html"> |
+ <link rel="import" href="../firebase-collection.html"> |
+ <link rel="import" href="../firebase-document.html"> |
+ <link rel="import" href="x-pretty-json.html"> |
+ <link rel="import" href="x-login.html"> |
+</head> |
+<body> |
+ <div class="horizontal center-justified layout"> |
+ <div class="vertical-section"> |
+ <h3>Dinosaurs by Height</h3> |
+ <template is="dom-bind"> |
+ <firebase-collection |
+ order-by-child="height" |
+ location="https://dinosaur-facts.firebaseio.com/dinosaurs" |
+ data="{{dinosaurs}}"></firebase-collection> |
+ <template is="dom-repeat" items="[[dinosaurs]]" as="dinosaur"> |
+ <h4>[[dinosaur.__firebaseKey__]]</h4> |
+ <span>Height: </span><span>[[dinosaur.height]]</span><span>m</span> |
+ </template> |
+ </template> |
+ </div> |
+ <div class="vertical-section"> |
+ <h3>Dinosaur Scores Document</h3> |
+ <template is="dom-bind"> |
+ <firebase-document |
+ location="https://dinosaur-facts.firebaseio.com/scores" |
+ data="{{dinosaurs}}"></firebase-document> |
+ <x-pretty-json object=[[dinosaurs]]></x-pretty-json> |
+ </template> |
+ </div> |
+ |
+ <div class="vertical-section"> |
+ <h3>Authentication Example</h3> |
+ <x-login></x-login> |
+ </div> |
+ </div> |
+</body> |
+</html> |