Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
木农 committed Nov 2, 2017
1 parent 031dba9 commit 6a55af7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ant-editor",
"version": "0.3.0",
"version": "0.3.1",
"description": "Ant monaco with vscode-textmate. This module can only run under node runtime",
"main": "lib/editor",
"scripts": {
Expand Down
5 changes: 1 addition & 4 deletions src/ant/languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,7 @@ export default {
monaco.languages.registerCompletionItemProvider(handleLanguageId(id), {
triggerCharacters: trigger,
provideCompletionItems: async (model, position, token, context) => {
// For bufferSupport to sync textDocuments (typescript & javascript).

console.log(context);

// For bufferSupport to sync textDocuments (typescript & javascript).
await delay();
const pos = convert.toPosition(position);
const textDocument = uriToDocument.get(model.uri);
Expand Down
2 changes: 1 addition & 1 deletion src/editor/uri.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default class Uri {
return `${this._scheme}://${platform() === 'win32' ? '/' : ''}${this._authority}${this._path}`.replace(/\\/g, '/');
}

/**
/**
* Returns a JSON representation of this Uri.
*
* @return An object.
Expand Down

0 comments on commit 6a55af7

Please sign in to comment.