Remove all white space at end of line

This commit is contained in:
Hongarc 2019-04-22 06:44:05 +07:00
parent 58f2dc4156
commit 10bcc0a02f
17 changed files with 870 additions and 870 deletions

View file

@ -37,7 +37,7 @@ var commands = {
// copy command, and then set opts
commandObj.setOptionsMap(delConfig.options || {});
commandObj.setGeneralArgs(delConfig.args || []);
commandConfigs[delConfig.vcs][delConfig.name].execute.call(this, engine, commandObj);
}, this);
} else {

View file

@ -107,7 +107,7 @@ exports.getStartDialog = function(level) {
}
};
var startCopy = Object.assign(
{},
{},
level.startDialog[getDefaultLocale()] || level.startDialog
);
startCopy.childViews.unshift(errorAlert);

View file

@ -206,7 +206,7 @@ var commandConfig = {
};
}
},
backout: {
regex: /^hg +backout($|\s+)/,
options: [

View file

@ -76,7 +76,7 @@ var Command = Backbone.Model.extend({
mapDotToHead: function() {
var generalArgs = this.getGeneralArgs();
var options = this.getOptionsMap();
generalArgs = generalArgs.map(function(arg) {
return this.replaceDotWithHead(arg);
}, this);

View file

@ -60,7 +60,7 @@ var LevelToolbarView = React.createClass({
<button
onClick={this.props.onGoalClick}
type="button">
{this.state.isGoalExpanded ?
{this.state.isGoalExpanded ?
intl.str('hide-goal-button') :
intl.str('show-goal-button')
}

View file

@ -44,7 +44,7 @@ var GRAPHICS = {
tagFill: 'hsb(0,0,0.9)',
tagStroke: '#FFF',
tagStrokeWidth: '2',
orphanNodeFill: 'hsb(0.5,0.8,0.7)'
};

View file

@ -4,7 +4,7 @@ module.exports = function(func, time) {
if (!wait) {
func.apply(this, arguments);
wait = true;
setTimeout(function() {
wait = false;
}, time);

View file

@ -311,7 +311,7 @@ var ModalTerminal = ContainedBase.extend({
this.container = new ModalView();
this.JSON = {
title: options.title
title: options.title
};
this.render();