Negotiant
07.05.2017, 16:52
function SquareDance(canvas, options) {
var $canvas = $(canvas),
context = canvas.getContext('2d'),
defaults = {
square :{
backgroundUrl: 'img/2.png', //так не получается
height: '50px',
width: '50px'
}
}
}
var $canvas = $(canvas),
context = canvas.getContext('2d'),
defaults = {
square :{
backgroundUrl: 'img/2.png', //так не получается
height: '50px',
width: '50px'
}
}
}