This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Canvas with multiple layers | |
// copyright 2015 by Fred Moolekamp | |
// MIT License | |
initMultiCanvas=function(div,options){ | |
var $div; | |
if(div instanceof jQuery){ | |
$div=div; | |
}else{ | |
$div=$(div); | |
}; |