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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/polymer/src/standard/resolveUrl-extracted.js

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh 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
(Empty)
1
2
3 Polymer.Base._addFeature({
4
5 resolveUrl: function(url) {
6 // TODO(sorvell): do we want to put the module reference on the prototype?
7 var module = Polymer.DomModule.import(this.is);
8 var root = '';
9 if (module) {
10 var assetPath = module.getAttribute('assetpath') || '';
11 root = Polymer.ResolveUrl.resolveUrl(assetPath, module.ownerDocument.bas eURI);
12 }
13 return Polymer.ResolveUrl.resolveUrl(url, root);
14 }
15
16 });
17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698