| Index: third_party/polymer/components/core-focusable/polymer-mixin.js
|
| diff --git a/third_party/polymer/components/core-focusable/polymer-mixin.js b/third_party/polymer/components/core-focusable/polymer-mixin.js
|
| deleted file mode 100644
|
| index 2ee1d668bed5bfe2288c1463099b4e3dfbd1d7ab..0000000000000000000000000000000000000000
|
| --- a/third_party/polymer/components/core-focusable/polymer-mixin.js
|
| +++ /dev/null
|
| @@ -1,35 +0,0 @@
|
| -Polymer.mixin2 = function(prototype, mixin) {
|
| -
|
| - // adds a single mixin to prototype
|
| -
|
| - if (mixin.mixinPublish) {
|
| - prototype.publish = prototype.publish || {};
|
| - Polymer.mixin(prototype.publish, mixin.mixinPublish);
|
| - }
|
| -
|
| - if (mixin.mixinDelegates) {
|
| - prototype.eventDelegates = prototype.eventDelegates || {};
|
| - for (var e in mixin.mixinDelegates) {
|
| - if (!prototype.eventDelegates[e]) {
|
| - prototype.eventDelegates[e] = mixin.mixinDelegates[e];
|
| - }
|
| - }
|
| - }
|
| -
|
| - if (mixin.mixinObserve) {
|
| - prototype.observe = prototype.observe || {};
|
| - for (var o in mixin.mixinObserve) {
|
| - if (!prototype.observe[o] && !prototype[o + 'Changed']) {
|
| - prototype.observe[o] = mixin.mixinObserve[o];
|
| - }
|
| - }
|
| - }
|
| -
|
| - Polymer.mixin(prototype, mixin);
|
| -
|
| - delete prototype.mixinPublish;
|
| - delete prototype.mixinDelegates;
|
| - delete prototype.mixinObserve;
|
| -
|
| - return prototype;
|
| -};
|
|
|