Skip to content

Commit 834428c

Browse files
committed
npm && bower dev dependencies
1 parent efb05a0 commit 834428c

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

bower.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222
"test",
2323
"tests"
2424
],
25+
"devDependencies": {
26+
"UglifyJS2": "mishoo/UglifyJS2#^2.5.0"
27+
},
2528
"dependencies": {
2629
"medium-editor": "^5.0.0",
27-
"to-markdown": "^2.0.1",
28-
"UglifyJS2": "https://github.com/mishoo/UglifyJS2.git#^2.5.0"
30+
"to-markdown": "^2.0.1"
2931
}
3032
}

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
],
1919
"license": "MIT",
2020
"dependencies": {
21-
"barbe": "^2.0.0",
22-
"to-markdown": "^2.0.1",
23-
"uglify-js": "^2.5.0"
21+
"to-markdown": "^2.0.1"
22+
},
23+
"devDependencies": {
24+
"barbe": "^2.0.0",
25+
"uglify-js": "^2.5.0"
2426
},
25-
"devDependencies": {},
2627
"repository": {
2728
"type": "git",
2829
"url": "https://github.com/IonicaBizau/medium-editor-markdown.git"

src/medium-editor-md.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*
99
* - `events` (Array): An array with the events when the markdown code will be generated (default: `["input", "change"]`).
1010
* - `callback` (Function): The callback function. If the second argument is a function, then it has greater priority.
11+
* - `toMarkdownOptions` (Object): Options to pass to the markdown converter code.
1112
*
1213
* @param {Function} callback The callback function that is called with the markdown code (first argument).
1314
*/

0 commit comments

Comments
 (0)