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

Side by Side Diff: third_party/polymer/components-chromium/paper-progress/paper-progress-extracted.js

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/echo ""/echo/ Created 6 years, 2 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
(Empty)
1
2
3 Polymer('paper-progress', {
4
5 /**
6 * The number that represents the current secondary progress.
7 *
8 * @attribute secondaryProgress
9 * @type number
10 * @default 0
11 */
12 secondaryProgress: 0,
13
14 step: 0,
15
16 observe: {
17 'value secondaryProgress min max': 'update'
18 },
19
20 update: function() {
21 this.super();
22 this.secondaryProgress = this.clampValue(this.secondaryProgress);
23 this.secondaryRatio = this.calcRatio(this.secondaryProgress) * 100;
24 }
25
26 });
27
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698