react-ace
Advanced tools
Comparing version 6.1.0 to 6.1.1
@@ -8,2 +8,12 @@ # Changelog | ||
## 6.1.1 | ||
* Fixes typo in `console.warn` | ||
* Adds style property to typings | ||
## 6.1.0 | ||
* Onchange support in diff editor | ||
* Debounce Prop support in split editor | ||
## 6.0.0 | ||
@@ -10,0 +20,0 @@ |
@@ -132,3 +132,3 @@ 'use strict'; | ||
} else if (this.props[option]) { | ||
console.warn('ReaceAce: editor option ' + option + ' was activated but not found. Did you need to import a related tool or did you possibly mispell the option?'); | ||
console.warn('ReactAce: editor option ' + option + ' was activated but not found. Did you need to import a related tool or did you possibly mispell the option?'); | ||
} | ||
@@ -135,0 +135,0 @@ } |
{ | ||
"name": "react-ace", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "A react component for Ace Editor", | ||
@@ -50,4 +50,4 @@ "main": "lib/index.js", | ||
"rimraf": "2.6.2", | ||
"sinon": "5.0.0", | ||
"webpack": "4.6.0", | ||
"sinon": "5.0.6", | ||
"webpack": "4.8.1", | ||
"webpack-cli": "^2.0.9", | ||
@@ -54,0 +54,0 @@ "webpack-dev-server": "^3.1.3" |
@@ -90,3 +90,3 @@ import ace from 'brace' | ||
} else if (this.props[option]) { | ||
console.warn(`ReaceAce: editor option ${option} was activated but not found. Did you need to import a related tool or did you possibly mispell the option?`) | ||
console.warn(`ReactAce: editor option ${option} was activated but not found. Did you need to import a related tool or did you possibly mispell the option?`) | ||
} | ||
@@ -93,0 +93,0 @@ } |
@@ -30,3 +30,3 @@ import { expect } from 'chai'; | ||
expect(wrapper).to.exist; | ||
expect(console.warn.calledWith('ReaceAce: editor option enableBasicAutocompletion was activated but not found. Did you need to import a related tool or did you possibly mispell the option?') ).to.be.true; | ||
expect(console.warn.calledWith('ReactAce: editor option enableBasicAutocompletion was activated but not found. Did you need to import a related tool or did you possibly mispell the option?') ).to.be.true; | ||
stub.restore(); | ||
@@ -361,3 +361,3 @@ }); | ||
expect(onChangeCallback.getCall(0).args[1].action).to.eq('insert'); | ||
onChangeCallback.reset(); | ||
onChangeCallback.resetHistory(); | ||
wrapper.instance().editor.setValue(expectText2, 1); | ||
@@ -364,0 +364,0 @@ wrapper.instance().editor.setValue(expectText, 1); |
@@ -5,3 +5,3 @@ // Type definitions for react-ace 4.1.3 | ||
import { Component } from 'react' | ||
import { Component, CSSProperties } from 'react' | ||
@@ -167,4 +167,5 @@ export interface Annotation { | ||
markers?: Array<Marker> | ||
style?: CSSProperties | ||
} | ||
export default class AceEditor extends Component<AceEditorProps, {}> {} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2040488
9229