Remove 2.7-deprecated pngsave option

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2780 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Brett Zamir 2014-04-07 23:31:00 +00:00
parent 160c7303ca
commit 91a627d53d
1 changed files with 3 additions and 3 deletions

View File

@ -405,8 +405,8 @@ TODOS
editor.showSaveWarning = false;
svgCanvas.bind('saved', opts.save);
}
if (opts.exportImage || opts.pngsave) { // Deprecating pngsave
svgCanvas.bind('exported', opts.exportImage || opts.pngsave);
if (opts.exportImage) {
svgCanvas.bind('exported', opts.exportImage);
}
customHandlers = opts;
});
@ -3589,7 +3589,7 @@ TODOS
return;
}
// Open placeholder window (prevents popup)
if (!customHandlers.exportImage && !customHandlers.pngsave) {
if (!customHandlers.exportImage) {
var str = uiStrings.notification.loadingImage;
exportWindow = window.open('data:text/html;charset=utf-8,<title>' + str + '<\/title><h1>' + str + '<\/h1>');
}