Add an exponential backoff to rechecking the app list doodle.
[chromium-blink-merge.git] / third_party / polymer / components-chromium / core-shared-lib / core-shared-lib.html
blob0ad13fc7ca70f9b7ce07ca42bdfb4766e147f376
1 <!--
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 --><html><head><link rel="import" href="../polymer/polymer.html">
10 <!--
11 Supports sharing a JSONP-based JavaScript library.
13 <core-shared-lib on-core-shared-lib-load="{{load}}" url="https://apis.google.com/js/plusone.js?onload=%%callback%%">
15 Multiple components can request a library using a `core-shared-lib` component and only one copy of that library will
16 loaded from the network.
18 Currently, the library must support JSONP to work as a shared-lib.
20 Some libraries require a specific global function be defined. If this is the case, specify the `callbackName` property.
22 Where possible, you should use an HTML Import to load library dependencies. Rather than using this element,
23 create an import (`<link rel="import" href="lib.html">`) that wraps loading the .js file:
25 lib.html:
27 <script src="lib.js"></script>
29 @group Polymer Core Elements
30 @element core-shared-lib
31 -->
32 </head><body><polymer-element name="core-shared-lib" attributes="url notifyEvent callbackName" assetpath="">
34 </polymer-element>
35 <script charset="utf-8" src="core-shared-lib-extracted.js"></script></body></html>