diff --git a/polymer-micro.html b/polymer-micro.html index 3914a91e5b..209235a224 100644 --- a/polymer-micro.html +++ b/polymer-micro.html @@ -14,7 +14,6 @@ - + + + + + + + + diff --git a/test/unit/utils.html b/test/unit/utils.html index 4415ce90b3..bc14a3feed 100644 --- a/test/unit/utils.html +++ b/test/unit/utils.html @@ -57,47 +57,6 @@ }); - suite('debounce', function() { - - test('debounce (no-wait)', function(done) { - - var called = 0; - var cb = function() { - called++; - }; - - window.el1.debounce('foo', cb); - window.el1.debounce('foo', cb); - window.el1.debounce('foo', cb); - - setTimeout(function() { - assert.equal(called, 1, 'debounce should be called exactly once'); - done(); - }, 50); - - }); - - test('debounce (wait)', function(done) { - - var called = 0; - var now = Date.now(); - var cb = function() { - called++; - }; - - window.el1.debounce('foo', cb); - window.el1.debounce('foo', cb, 100); - window.el1.debounce('foo', cb, 100); - - setTimeout(function() { - assert.equal(called, 1, 'debounce should be called exactly once'); - assert(Date.now() - now > 100, 'debounce should be called after at least 100ms'); - done(); - }, 200); - - }); - - });