Removed deprecated interval argument to Renderer in example
This commit is contained in:
parent
de68f67d83
commit
d5545ea3ad
|
@ -148,7 +148,7 @@
|
||||||
var canvas = document.getElementById('demo');
|
var canvas = document.getElementById('demo');
|
||||||
var ctx = canvas.getContext('2d');
|
var ctx = canvas.getContext('2d');
|
||||||
|
|
||||||
var renderer = new Renderer(10, layout,
|
var renderer = new Renderer(layout,
|
||||||
function clear() {
|
function clear() {
|
||||||
ctx.clearRect(0, 0, 650, 300);
|
ctx.clearRect(0, 0, 650, 300);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user