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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-image/iron-image-extracted.js

Issue 1162963002: Revert "Rename polymer and cr_elements v0_8 to v1_0" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 1
2 2
3 Polymer({ 3 Polymer({
4 4
5 is: 'iron-image', 5 is: 'iron-image',
6 6
7 properties: { 7 properties: {
8 /** 8 /**
9 * The URL of an image. 9 * The URL of an image.
10 * 10 *
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 } 282 }
283 283
284 if (this.sizing) { 284 if (this.sizing) {
285 this.style.backgroundImage = this.src ? 'url(' + this.src + ')': ''; 285 this.style.backgroundImage = this.src ? 'url(' + this.src + ')': '';
286 } else { 286 } else {
287 this.$.img.src = this.src || ''; 287 this.$.img.src = this.src || '';
288 } 288 }
289 } 289 }
290 }); 290 });
291 291
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698