Consistent indentation (tab seemed to be main convention in this file, so changed to tab)

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2581 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Brett Zamir 2013-10-12 03:08:26 +00:00
parent 1566e522b8
commit 62a7c13e9c
1 changed files with 9 additions and 9 deletions

View File

@ -3675,7 +3675,7 @@
}; };
var populateLayers = function() { var populateLayers = function() {
svgCanvas.clearSelection(); svgCanvas.clearSelection();
var layerlist = $('#layerlist tbody').empty(); var layerlist = $('#layerlist tbody').empty();
var selLayerNames = $('#selLayerNames').empty(); var selLayerNames = $('#selLayerNames').empty();
var drawing = svgCanvas.getCurrentDrawing(); var drawing = svgCanvas.getCurrentDrawing();
@ -4227,7 +4227,7 @@
// get the text contents of the file and send it to the canvas // get the text contents of the file and send it to the canvas
if (window.FileReader) { if (window.FileReader) {
var importImage = function(e) { var importImage = function(e) {
$.process_cancel(uiStrings.notification.loadingImage); $.process_cancel(uiStrings.notification.loadingImage);
e.stopPropagation(); e.stopPropagation();
e.preventDefault(); e.preventDefault();
$('#workarea').removeAttr('style'); $('#workarea').removeAttr('style');
@ -4318,7 +4318,7 @@
if (!ok) return; if (!ok) return;
svgCanvas.clear(); svgCanvas.clear();
if (f.files.length==1) { if (f.files.length==1) {
$.process_cancel(uiStrings.notification.loadingImage); $.process_cancel(uiStrings.notification.loadingImage);
var reader = new FileReader(); var reader = new FileReader();
reader.onloadend = function(e) { reader.onloadend = function(e) {
loadSvgString(e.target.result); loadSvgString(e.target.result);
@ -4401,7 +4401,7 @@
updateRulers(cnvs, zoom); updateRulers(cnvs, zoom);
workarea.scroll(); workarea.scroll();
} }
$('#dialog_box').hide(); $('#dialog_box').hide();
}; };
// Make [1,2,5] array // Make [1,2,5] array
@ -4686,8 +4686,8 @@
'dataType': 'text', 'dataType': 'text',
cache: !!cache, cache: !!cache,
beforeSend:function(){ beforeSend:function(){
$.process_cancel(uiStrings.notification.loadingImage); $.process_cancel(uiStrings.notification.loadingImage);
}, },
success: function(str) { success: function(str) {
loadSvgString(str, cb); loadSvgString(str, cb);
}, },
@ -4698,9 +4698,9 @@
$.alert(uiStrings.notification.URLloadFail + ': \n'+err+'', cb); $.alert(uiStrings.notification.URLloadFail + ': \n'+err+'', cb);
} }
}, },
complete:function(){ complete:function(){
$('#dialog_box').hide(); $('#dialog_box').hide();
} }
}); });
}); });
}; };