- Further convert tabs -> 2 spaces in JS code comments (except in test performance

file where used for alignment though use tab escape within JS), CSS
    (including comments), PHP, SVG, JSON, XUL
- Remove extra spaces in svgcanvas.js, ext-connector.js
This commit is contained in:
Brett Zamir
2018-05-18 14:41:43 +08:00
parent 4bfbaacb5e
commit 52353c6321
56 changed files with 1243 additions and 1243 deletions

View File

@@ -518,7 +518,7 @@ svgedit.draw.Drawing.prototype.identifyLayers = function () {
* @param {string} name - The given name. If the layer name exists, a new name will be generated.
* @param {svgedit.history.HistoryRecordingService} hrService - History recording service
* @returns {SVGGElement} The SVGGElement of the new layer, which is
* also the current layer of this drawing.
* also the current layer of this drawing.
*/
svgedit.draw.Drawing.prototype.createLayer = function (name, hrService) {
if (this.current_layer) {
@@ -549,7 +549,7 @@ svgedit.draw.Drawing.prototype.createLayer = function (name, hrService) {
* @param {string} name - The given name. If the layer name exists, a new name will be generated.
* @param {svgedit.history.HistoryRecordingService} hrService - History recording service
* @returns {SVGGElement} The SVGGElement of the new layer, which is
* also the current layer of this drawing.
* also the current layer of this drawing.
*/
svgedit.draw.Drawing.prototype.cloneLayer = function (name, hrService) {
if (!this.current_layer) { return null; }