Remove unused properties and variables
The code that used these were removed in the following commits: * 9ff86fb718477515ede2d6457f06643935d76bcd (RFB._mouse_arr) * bb6965f2e60c2301dd638383bdc792d1f10af942 (old_requestAnimationFrame) * 490d471c53b1791398d6c30f0efce54925939f33 (Display._c_forceCanvas)
This commit is contained in:
committed by
Lauri Kasanen
parent
19c473f792
commit
59f5648592
@@ -13,7 +13,6 @@ import { supportsImageMetadata } from './util/browser.js';
|
|||||||
export default class Display {
|
export default class Display {
|
||||||
constructor(target) {
|
constructor(target) {
|
||||||
this._drawCtx = null;
|
this._drawCtx = null;
|
||||||
this._c_forceCanvas = false;
|
|
||||||
|
|
||||||
this._renderQ = []; // queue drawing actions for in-oder rendering
|
this._renderQ = []; // queue drawing actions for in-oder rendering
|
||||||
this._flushing = false;
|
this._flushing = false;
|
||||||
|
|||||||
@@ -385,10 +385,6 @@ describe('Display/Canvas Helper', function () {
|
|||||||
sinon.spy(display, '_scan_renderQ');
|
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 () {
|
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
|
display._renderQ_push({ type: 'noop' }); // does nothing
|
||||||
expect(display._scan_renderQ).to.have.been.calledOnce;
|
expect(display._scan_renderQ).to.have.been.calledOnce;
|
||||||
|
|||||||
Reference in New Issue
Block a user