OLD | NEW |
---|---|
(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 | |
Jennifer Messerly
2013/08/15 21:01:37
I wonder if this is fixed now. I think it might be
| |
8 if (Element.prototype.webkitCreateShadowRoot) { | |
9 Element.prototype.webkitCreateShadowRoot = function() { | |
10 return window.ShadowDOMPolyfill.wrapIfNeeded(this).createShadowRoot(); | |
11 }; | |
12 } | |
13 })(); | |
OLD | NEW |