Commit 02b7c6d1 authored by csillag's avatar csillag

Removed some unnecessary double arrows

parent 745be4ef
......@@ -60,9 +60,9 @@ describe 'Annotator.Plugin.EnhancedAnchoring', ->
page: page
removeFromDocument: sinon.spy()
scrollIntoView: sinon.spy ->
new Promise (resolve, reject) =>
setTimeout =>
@anchor.anchoring.document.setPageIndex @page
new Promise (resolve, reject) ->
setTimeout ->
anchor.anchoring.document.setPageIndex page
resolve()
afterEach ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment