OLD | NEW |
1 Name: Polymer | 1 Name: Polymer |
2 Short Name: polymer | 2 Short Name: polymer |
3 URL: http://www.polymer-project.org | 3 URL: http://www.polymer-project.org |
4 Version: 0.5.2-4 | 4 Version: 1.2.3 |
5 Revision: (See components/<component>/.bower.json) | 5 Revision: (see v1_0/components_summary.txt) |
6 License: BSD | 6 License: BSD |
7 License File: LICENSE.polymer | 7 License File: LICENSE.polymer |
8 Security Critical: no | 8 Security Critical: no |
9 | 9 |
10 Description: | 10 Description: |
11 This directory contains a copy of the following components which are a part of | 11 This directory contains a copy of the Polymer framework and some elements from |
12 the Polymer project: | 12 the Polymer elements catalog (https://elements.polymer-project.org/). See |
13 -polymer | 13 v1_0/components_summary.txt for a full list of components. |
14 -all core elements and their dependencies (except "core-docs", | |
15 "core-component-page", and "core-doc-viewer") | |
16 -all paper elements and their dependencies (except "paper-menu-button") | |
17 See bower.json for a full list of components. | |
18 | |
19 The version can be found in header of polymer/polymer.js. The license can | |
20 be found in polymer/LICENSE. | |
21 | 14 |
22 The source git repositories can be found at: | 15 The source git repositories can be found at: |
23 https://github.com/Polymer/<component> | 16 https://github.com/Polymer/polymer |
| 17 https://github.com/PolymerElements/<component-name> |
| 18 https://github.com/PolymerLabs/polymer-externs |
24 | 19 |
25 Polymer is comprised of two efforts: | 20 Polymer is comprised of two efforts: |
26 1. A set of core platform features (Shadow DOM, Custom Elements, MDV). | 21 1. A set of core platform features (Shadow DOM, Custom Elements, MDV). |
27 Initially, these core features will be enabled with a set of polyfills. As | 22 Initially, these core features will be enabled with a set of polyfills. As |
28 browsers begin to implement these new primitives, the polyfill platform layer | 23 browsers begin to implement these new primitives, the polyfill platform layer |
29 becomes smaller and better over time. | 24 becomes smaller and better over time. |
30 2. A next-generation web application framework built upon these core | 25 2. A next-generation web application framework built upon these core |
31 technologies called the Polymer. | 26 technologies called the Polymer. |
32 | 27 |
33 Local Modifications: | 28 Local Modifications: |
34 - Removed executable bit from the files in 'components/core-list'. | 29 - Applied modifications that can be found in v1_0/chromium.patch. |
35 - Created a copy 'components-chromium' of the 'components' directory with the | 30 - All inline JavaScript blocks are extracted from Polymer HTML elements to |
36 only difference that all inline JavaScript blocks are extracted from Polymer | 31 external JS files. This version of the Polymer is used in a web UI, where CSP |
37 HTML elements to external JS files. This version of the Polymer is used in a web | 32 forbids an execution of inline scripts. The extraction was made with the help of |
38 UI, where CSP forbids an execution of inline scripts. The extraction was made | 33 the Crisper tool (https://github.com/PolymerLabs/crisper). |
39 with the help of the Vulcanize tool (https://github.com/Polymer/vulcanize). | 34 - Removed executable bit from some files. |
| 35 - Resolved encoding issues. |
40 - Replaced CRLF line endings with LF line endings in text files. | 36 - Replaced CRLF line endings with LF line endings in text files. |
41 | 37 |
42 To restore a content of the 'components', 'components-chromium' directorires | 38 To restore a content of the 'components-chromium' directory from scratch, run |
43 from scratch, run ./reproduce.sh (requires bower and vulcanize >= 0.7.2). | 39 ./v1_0/reproduce.sh (requires bower and crisper) on a Linux machine. |
44 | 40 |
45 Note on Bower: | 41 Note on Bower: |
46 The directory can be updated by running "bower update". A new component can be | 42 The directory can be updated by running "bower update". A new component can be |
47 installed by running "bower install -S Polymer/<component>#version". Be sure to | 43 installed by running "bower install -S PolymerElements/<component>#version". |
48 add the .bower.json file to the repository as it includes the revision | 44 Be sure to add the .bower.json file to the repository as it includes the |
49 information of the polymer component. | 45 revision information of the polymer component. |
50 Also be sure that you listed all the added packages and **all their | 46 Also be sure that you listed all the added packages in bower.json. |
51 dependencies** in bower.json, and specified **exact** versions of every package | |
52 explicitly. That is needed because Bower can't handle recursive dependencies | |
53 correctly (see http://stackoverflow.com/q/25899532). | |
OLD | NEW |