Index: third_party/polymer/components-chromium/core-toolbar/core-toolbar-extracted.js |
diff --git a/third_party/polymer/components-chromium/core-toolbar/core-toolbar-extracted.js b/third_party/polymer/components-chromium/core-toolbar/core-toolbar-extracted.js |
deleted file mode 100644 |
index d43508c6470e065613d7b8b6cb9af30b088f6202..0000000000000000000000000000000000000000 |
--- a/third_party/polymer/components-chromium/core-toolbar/core-toolbar-extracted.js |
+++ /dev/null |
@@ -1,67 +0,0 @@ |
- |
- |
-(function() { |
- |
- Polymer('core-toolbar', { |
- |
- /** |
- * Controls how the items are aligned horizontally. |
- * Options are `start`, `center`, `end`, `between` and `around`. |
- * |
- * @attribute justify |
- * @type string |
- * @default '' |
- */ |
- justify: '', |
- |
- /** |
- * Controls how the items are aligned horizontally when they are placed |
- * in the middle. |
- * Options are `start`, `center`, `end`, `between` and `around`. |
- * |
- * @attribute middleJustify |
- * @type string |
- * @default '' |
- */ |
- middleJustify: '', |
- |
- /** |
- * Controls how the items are aligned horizontally when they are placed |
- * at the bottom. |
- * Options are `start`, `center`, `end`, `between` and `around`. |
- * |
- * @attribute bottomJustify |
- * @type string |
- * @default '' |
- */ |
- bottomJustify: '', |
- |
- justifyChanged: function(old) { |
- this.updateBarJustify(this.$.topBar, this.justify, old); |
- }, |
- |
- middleJustifyChanged: function(old) { |
- this.updateBarJustify(this.$.middleBar, this.middleJustify, old); |
- }, |
- |
- bottomJustifyChanged: function(old) { |
- this.updateBarJustify(this.$.bottomBar, this.bottomJustify, old); |
- }, |
- |
- updateBarJustify: function(bar, justify, old) { |
- if (old) { |
- bar.removeAttribute(this.toLayoutAttrName(old)); |
- } |
- if (justify) { |
- bar.setAttribute(this.toLayoutAttrName(justify), ''); |
- } |
- }, |
- |
- toLayoutAttrName: function(value) { |
- return value === 'between' ? 'justified' : value + '-justified'; |
- } |
- |
- }); |
- |
-})(); |
- |