Skip to content

Commit

Permalink
tslint + whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermooo committed Nov 16, 2015
1 parent 305c209 commit b7d8c3e
Show file tree
Hide file tree
Showing 13 changed files with 716 additions and 709 deletions.
48 changes: 24 additions & 24 deletions src/cmd_line/command_node.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import * as vscode from 'vscode';
import * as token from './token';
import * as node from './node';
import * as lexer from './lexer';
import * as util from '../util';
import * as vscode from "vscode";
import * as token from "./token";
import * as node from "./node";
import * as lexer from "./lexer";
import * as util from "../util";

export class WriteCommand implements node.CommandBase {
name : string;
shortName : string;
args : Object;
constructor(args : Object = null) {
// TODO: implement other arguments.
this.name = 'write';
this.shortName = 'w';
this.args = args;
}
runOn(textEditor : vscode.TextEditor) : void {
if (this.args || !textEditor.document.fileName) {
util.showInfo("Not implemented.");
return;
}
textEditor.document.save();
}
}
name : string;
shortName : string;
args : Object;

constructor(args : Object = null) {
// TODO: implement other arguments.
this.name = "write";
this.shortName = "w";
this.args = args;
}

runOn(textEditor : vscode.TextEditor) : void {
if (this.args || !textEditor.document.fileName) {
util.showInfo("Not implemented.");
return;
}
textEditor.document.save();
}
}
Loading

0 comments on commit b7d8c3e

Please sign in to comment.