Skip to content

Commit b91ffbb

Browse files
committed
#76, #74
1 parent 3250f58 commit b91ffbb

File tree

9 files changed

+1142
-843
lines changed

9 files changed

+1142
-843
lines changed

.babelrc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
{
2-
"presets": ["react", "es2015"]
2+
"presets": [
3+
"react",
4+
"es2015"
5+
],
6+
"plugins": [
7+
"transform-object-assign"
8+
]
39
}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
4.3.0
2+
==================
3+
* #74 => add support for more DOM events => onContextMenu | onCopy | onCut | onDblClick | onDragLeave | onDragStart | onMouseDown | onPaste | onTouchStart
4+
* #76 => babel-ify index.js package for out of the box runtime support e.g. `Object.assign`
5+
16
4.2.0
27
==================
38
* add notion of UnControlled#detach => [`editorDidAttach`, `editorDidDetach`] (related to #37)

docs/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
const gulp = require('gulp');
22
const replace = require('gulp-replace');
33
const rimraf = require('rimraf');
4+
const beautify = require('gulp-beautify');
5+
const babel = require('gulp-babel');
46

57
gulp.task('ts-scrub:index', () => {
68
return gulp.src('./.ts/index.js')
7-
.pipe(replace('var codemirror = require("codemirror");', ''))
8-
.pipe(replace('"', '\''))
9-
.pipe(gulp.dest('.'));
9+
.pipe(replace('var codemirror = require("codemirror");', ''))
10+
.pipe(replace('"', '\''))
11+
.pipe(babel())
12+
.pipe(beautify({indent_size: 2}))
13+
.pipe(gulp.dest('.'));
1014
});
1115

1216
gulp.task('ts-scrub:declaration', () => {
1317
return gulp.src('./.ts/index.d.ts')
14-
.pipe(gulp.dest('.'));
18+
.pipe(gulp.dest('.'));
1519
});
1620

1721
gulp.task('ts-scrub', ['ts-scrub:index', 'ts-scrub:declaration'], (done) => {

index.d.ts

Lines changed: 20 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)