We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
html2canvas.prototype.storageContext = function(width,height){ /** * Simplified (readable ?) version by a.in.the.k@gmail.com */ var _this=this, _push=function(name) { var _slice=Array.prototype.slice; //TODO: extract higher return function(){ this.storage.push( { type: "function", name:name, arguments:_slice.call(arguments) }); } };
_this.storage = []; _this.width = width; _this.height = height; //this.zIndex; _this.fillRect = _push("fillRect" /*x, y, w, h*/); _this.drawImage = _push("drawImage" /*image,sx,sy,sw,sh,dx,dy,dw,dh*/); _this.fillText = _push("fillText" /*currentText,x,y*/); return _this;
}
The text was updated successfully, but these errors were encountered:
[refs niklasvh#4] ビルダーのサムネイルキャプチャ時の挙動修正
6030e99
Merge pull request niklasvh#5 from vantagemanagement-admin/feature/ni…
8e0b692
…klasvh#4 [refs niklasvh#4] ビルダーのサムネイルキャプチャ時の挙動修正
Merge pull request #4 from wtto00/dev
c8dda84
publish gh-page
No branches or pull requests
html2canvas.prototype.storageContext = function(width,height){
/**
* Simplified (readable ?) version by a.in.the.k@gmail.com
*/
var _this=this, _push=function(name)
{
var _slice=Array.prototype.slice; //TODO: extract higher
return function(){
this.storage.push(
{
type: "function",
name:name,
arguments:_slice.call(arguments)
});
}
};
}
The text was updated successfully, but these errors were encountered: