Skip to content

Commit

Permalink
Merge pull request #2 from SamyPesse/patch-1
Browse files Browse the repository at this point in the history
Simplify import of modules
  • Loading branch information
nerk committed Dec 5, 2015
2 parents 52f2fde + 5a11972 commit a389216
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ $ npm install codemirror-asciidoc
## Usage

```js
var codemirror = require("codemirror/lib/codemirror"),
codemirror_asciidoc = require("codemirror-asciidoc/lib/asciidoc");
var codemirror = require("codemirror"),
codemirror_asciidoc = require("codemirror-asciidoc");

codemirror.fromTextArea(document.getElementById("editor"), {
lineNumbers: true,
Expand Down

0 comments on commit a389216

Please sign in to comment.