-legacy.js';
import { Polymer } from '../../lib/legacy/polymer-fn.js';
Polymer({
  is: 'x-attach2',
  properties: {
    done: {value: {count: 0}}
  },
  ready: function() {
    this.done.count++;
  },
  attached: function() {
    var d = document.createElement('div');
    d.className = 'add2';
    this.appendChild(d);
  },
  shouldIf: function(x) {
    return x < 3;
  }
});
</script>
</dom-module>

<dom-module id="x-attach1">
  <template>
    <style>
      :host {
        display: block;
        border: 1px