probmods / webppl-editor

Browser-based editor for WebPPL
Other
8 stars 1 forks source link

Fix React propType warning #19

Closed stuhlmueller closed 8 years ago

stuhlmueller commented 8 years ago
webppl-editor.min.js:14 Warning: Failed propType: Invalid prop `codeMirrorInstance` of type `function` supplied to `CodeMirror`, expected `object`. Check the render method of `CodeEditor`
longouyang commented 8 years ago

I submitted an issue in the react-codemirror repo a while ago, see JedWatson/react-codemirror#45

longouyang commented 8 years ago

This got fixed at some point