rename limiter to throttle and refactor
- don't inject raf/setTimeout since we can't really mock them w/ a good degree of timing accuracy anyways fix some unrelated tests
This commit is contained in:
parent
2af3aa27c7
commit
977239d207
15 changed files with 813 additions and 353 deletions
|
|
@ -533,7 +533,7 @@ o.spec("domMock", function() {
|
|||
o.beforeEach(function() {
|
||||
spy = o.spy()
|
||||
div = $document.createElement("div")
|
||||
e = $document.createEvent("AnimationEvent")
|
||||
e = $document.createEvent("HTMLEvents")
|
||||
e.initEvent("transitionend", true, true)
|
||||
|
||||
$document.body.appendChild(div)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue