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

Side by Side Diff: polymer_0.5.4/bower_components/core-focusable/polymer-mixin.js

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 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
OLDNEW
1 Polymer.mixin2 = function(prototype, mixin) { 1 Polymer.mixin2 = function(prototype, mixin) {
2 2
3 // adds a single mixin to prototype 3 // adds a single mixin to prototype
4 4
5 if (mixin.mixinPublish) { 5 if (mixin.mixinPublish) {
6 prototype.publish = prototype.publish || {}; 6 prototype.publish = prototype.publish || {};
7 Polymer.mixin(prototype.publish, mixin.mixinPublish); 7 Polymer.mixin(prototype.publish, mixin.mixinPublish);
8 } 8 }
9 9
10 if (mixin.mixinDelegates) { 10 if (mixin.mixinDelegates) {
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 Polymer.mixin(prototype, mixin); 28 Polymer.mixin(prototype, mixin);
29 29
30 delete prototype.mixinPublish; 30 delete prototype.mixinPublish;
31 delete prototype.mixinDelegates; 31 delete prototype.mixinDelegates;
32 delete prototype.mixinObserve; 32 delete prototype.mixinObserve;
33 33
34 return prototype; 34 return prototype;
35 }; 35 };
OLDNEW
« no previous file with comments | « polymer_0.5.4/bower_components/core-focusable/demo.html ('k') | polymer_0.5.4/bower_components/core-header-panel/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698