mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-06 12:29:38 +00:00
Remove unused properties and variables
The code that used these were removed in the following commits: *9ff86fb718(RFB._mouse_arr) *bb6965f2e6(old_requestAnimationFrame) *490d471c53(Display._c_forceCanvas)
This commit is contained in:
@@ -385,10 +385,6 @@ describe('Display/Canvas Helper', function () {
|
||||
sinon.spy(display, '_scan_renderQ');
|
||||
});
|
||||
|
||||
afterEach(function () {
|
||||
window.requestAnimationFrame = this.old_requestAnimationFrame;
|
||||
});
|
||||
|
||||
it('should try to process an item when it is pushed on, if nothing else is on the queue', function () {
|
||||
display._renderQ_push({ type: 'noop' }); // does nothing
|
||||
expect(display._scan_renderQ).to.have.been.calledOnce;
|
||||
|
||||
Reference in New Issue
Block a user