mirror of
https://github.com/suren-atoyan/monaco-react.git
synced 2026-01-18 15:54:45 +00:00
update package version to 3.3.2
This commit is contained in:
parent
9507194a6b
commit
10aaf643df
@ -1,5 +1,10 @@
|
||||
### Versions
|
||||
|
||||
## 3.3.1
|
||||
###### *June 20, 2020*
|
||||
|
||||
- utils: (monaco) add a possibility to pass src of config script
|
||||
|
||||
## 3.3.1
|
||||
###### *May 30, 2020*
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@monaco-editor/react",
|
||||
"version": "3.3.1",
|
||||
"version": "3.3.2",
|
||||
"description": "Monaco editor wrapper for easy/one-line integration with React applications (e.g. powered by create-react-app) without need of webpack configuration files",
|
||||
"main": "lib/index.js",
|
||||
"module": "lib/index.js",
|
||||
|
||||
@ -67,6 +67,8 @@ class Monaco {
|
||||
const configScript = this.createScript();
|
||||
|
||||
if (this.configScriptSrc) {
|
||||
// it will be helpfull in case of CSP, which doesn't allow
|
||||
// inline script execution
|
||||
configScript.src = this.configScriptSrc;
|
||||
} else {
|
||||
configScript.innerHTML = `
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user