diff --git a/polymer-element.html b/polymer-element.html index 955541ac..29db3564 100644 --- a/polymer-element.html +++ b/polymer-element.html @@ -1,2 +1,4 @@ - - \ No newline at end of file + + \ No newline at end of file diff --git a/polymer-legacy.html b/polymer-legacy.html deleted file mode 100644 index 66386b62..00000000 --- a/polymer-legacy.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/polymer.html b/polymer.html index f78821f7..cff38c5d 100644 --- a/polymer.html +++ b/polymer.html @@ -1,10 +1,16 @@ - - + + + - - - - + + + + - + + \ No newline at end of file diff --git a/src/attributes/attributes.html b/src/attributes/attributes.html deleted file mode 100644 index 1814c4af..00000000 --- a/src/attributes/attributes.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - diff --git a/src/data-elements/array-selector.html b/src/elements/array-selector.html similarity index 98% rename from src/data-elements/array-selector.html rename to src/elements/array-selector.html index 74b01ec1..82be2a2d 100644 --- a/src/data-elements/array-selector.html +++ b/src/elements/array-selector.html @@ -63,8 +63,8 @@ is false, `selected` is a property representing the last selected item. When --> - - + + diff --git a/src/legacy/class.html b/src/legacy/class.html index 877b5212..f40573f4 100644 --- a/src/legacy/class.html +++ b/src/legacy/class.html @@ -7,8 +7,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> - - + + diff --git a/src/legacy/logging.html b/src/legacy/logging.html deleted file mode 100644 index 5973525d..00000000 --- a/src/legacy/logging.html +++ /dev/null @@ -1,46 +0,0 @@ - - - \ No newline at end of file diff --git a/src/utils/polymer.dom.html b/src/legacy/polymer.dom.html similarity index 97% rename from src/utils/polymer.dom.html rename to src/legacy/polymer.dom.html index f318105a..f4c0a5d4 100644 --- a/src/utils/polymer.dom.html +++ b/src/legacy/polymer.dom.html @@ -7,11 +7,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> - - - - - + + + + + diff --git a/src/template/template-stamp.html b/src/template/template-stamp.html deleted file mode 100644 index d93feffc..00000000 --- a/src/template/template-stamp.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - diff --git a/test/runner.html b/test/runner.html index a5f10364..fc307e45 100644 --- a/test/runner.html +++ b/test/runner.html @@ -24,8 +24,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN - +
diff --git a/test/unit/case-map.html b/test/unit/case-map.html index 6b373855..a409409f 100644 --- a/test/unit/case-map.html +++ b/test/unit/case-map.html @@ -13,7 +13,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN - + diff --git a/test/unit/custom-style.html b/test/unit/custom-style.html index da9ff2f7..32be7b6f 100644 --- a/test/unit/custom-style.html +++ b/test/unit/custom-style.html @@ -299,12 +299,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN var xBar, xFoo, stylesBuilt; suiteSetup(function() { - var customStyle = document.querySelector('style[is="custom-style"]'); - stylesBuilt = Polymer.StyleUtil.getCssBuildType(customStyle); - xBar = document.querySelector('x-bar'); xFoo = document.querySelector('x-foo'); - }); test('root styles applied', function() { diff --git a/test/unit/debounce.html b/test/unit/debounce.html index 25fa255a..1a8aa83d 100644 --- a/test/unit/debounce.html +++ b/test/unit/debounce.html @@ -113,6 +113,17 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN }); }); + test('flush debouncer', function(done) { + var callback = sinon.spy(); + var job = Polymer.Debouncer.debounce(null, Polymer.Async.microTask, callback); + + setTimeout(function() { + job.flush(); + assert.isTrue(callback.calledOnce, 'callback should be called once'); + done(); + }); + }); + test('different debouncers and multiple micro tasks', function(done) { var callback = sinon.spy(); var job1 = Polymer.Debouncer.debounce(null, Polymer.Async.microTask, callback); diff --git a/test/unit/dom-repeat.html b/test/unit/dom-repeat.html index 984161f1..dbe51229 100644 --- a/test/unit/dom-repeat.html +++ b/test/unit/dom-repeat.html @@ -15,7 +15,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN -