OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <!-- |
| 3 Copyright 2013 The Polymer Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style |
| 5 license that can be found in the LICENSE file. |
| 6 --> |
| 7 <html> |
| 8 <head> |
| 9 <title></title> |
| 10 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 11 <script src="../platform/platform.js"></script> |
| 12 <link rel="import" href="polymer-shared-lib.html"> |
| 13 </head> |
| 14 <body> |
| 15 <polymer-shared-lib id="share" url="https://apis.google.com/js/client.js?onl
oad=%%callback%%"></polymer-shared-lib> |
| 16 <script> |
| 17 share.addEventListener('polymer-shared-lib-loaded', function() { |
| 18 console.log('lib loaded'); |
| 19 console.dir(event.detail); |
| 20 }); |
| 21 </script> |
| 22 </body> |
| 23 </html> |
OLD | NEW |