Skip to content

Commit

Permalink
snippets bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
云数 committed Oct 28, 2016
1 parent b6a5f14 commit 020c4f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/ace.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import ace from 'brace-ace';
import ace from 'brace';
import React, { Component, PropTypes } from 'react';
import isEqual from 'lodash.isequal';
import 'brace/ext/language_tools.js'

const { Range } = ace.acequire('ace/range');
ace.acequire('ace/ext/language_tools');

const editorOptions = [
'minLines',
Expand All @@ -14,7 +12,7 @@ const editorOptions = [
'tabSize',
'enableBasicAutocompletion',
'enableLiveAutocompletion',
'enableSnippets ',
'enableSnippets',
];

export default class ReactAce extends Component {
Expand Down

0 comments on commit 020c4f6

Please sign in to comment.