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