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

Side by Side Diff: pkg/shadow_dom/lib/src/platform/patches-shadowdom-polyfill-before.js

Issue 158083002: introduce web_components pkg for consolidated polyfills (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright 2013 The Polymer Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style
4 * license that can be found in the LICENSE file.
5 */
6 (function() {
7 // TODO(jmesserly): fix dart:html to use unprefixed name
8 if (Element.prototype.webkitCreateShadowRoot) {
9 Element.prototype.webkitCreateShadowRoot = function() {
10 return window.ShadowDOMPolyfill.wrapIfNeeded(this).createShadowRoot();
11 };
12 }
13 })();
OLDNEW
« no previous file with comments | « pkg/shadow_dom/lib/src/platform/patches-shadowdom-polyfill.js ('k') | pkg/shadow_dom/lib/src/platform/platform-init.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698