Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: third_party/polymer/README.chromium

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.3.5 4 Version: 0.3.5
5 Revision: (See components/<component>/.bower.json) 5 Revision: (See components/<component>/.bower.json)
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 Name: Web Animations JS 10 Name: Web Animations JS
(...skipping 28 matching lines...) Expand all
39 2. A next-generation web application framework built upon these core 39 2. A next-generation web application framework built upon these core
40 technologies called the Polymer. 40 technologies called the Polymer.
41 41
42 Also this directory contains a copy of Web Animations JS library, which is 42 Also this directory contains a copy of Web Animations JS library, which is
43 used by polymer "core-animation" element. 43 used by polymer "core-animation" element.
44 44
45 Local Modifications: 45 Local Modifications:
46 - All the files, except for web-animations.js, README.md and COPYING, were 46 - All the files, except for web-animations.js, README.md and COPYING, were
47 removed from the web-animations-js copy. 47 removed from the web-animations-js copy.
48 - Removed executable bit from the files in 'components/core-list'. 48 - Removed executable bit from the files in 'components/core-list'.
49 - Created a copy 'components-extracted' of the 'components' directory with the
50 only difference that all inline JavaScript blocks were extracted from Polymer
51 HTML elements to external JS files. This version of the Polymer is used in a web
52 UI, where CSP forbids an execution of inline scripts. The extraction was made
53 with the help of the Vulcanize tool (https://github.com/Polymer/vulcanize).
49 54
50 To restore a content of the 'components' directory from scratch, run the 55 To restore a content of the 'components' and 'components-extracted' directories
51 ./reproduce.sh script (requires bower). 56 from scratch, run the ./reproduce.sh script (requires bower and vulcanize).
52 57
53 Note on Bower: 58 Note on Bower:
54 The directory can be updated by running "bower update". A new component can be 59 The directory can be updated by running "bower update". A new component can be
55 installed by running "bower install -S Polymer/<component>#version". Be sure to 60 installed by running "bower install -S Polymer/<component>#version". Be sure to
56 add the .bower.json file to the repository as it includes the revision 61 add the .bower.json file to the repository as it includes the revision
57 information of the polymer component. 62 information of the polymer component.
58 Also be sure that you listed all the added packages and **all their 63 Also be sure that you listed all the added packages and **all their
59 dependencies** in bower.json, and specified **exact** versions of every package 64 dependencies** in bower.json, and specified **exact** versions of every package
60 explicitly. That is needed because Bower can't handle recursive dependencies 65 explicitly. That is needed because Bower can't handle recursive dependencies
61 correctly (see http://stackoverflow.com/q/25899532). 66 correctly (see http://stackoverflow.com/q/25899532).
62
OLDNEW
« no previous file with comments | « no previous file | third_party/polymer/bower.json » ('j') | third_party/polymer/extract_inline_scripts.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698