netlify-cms-widget-async-select
Advanced tools
Comparing version 1.2.0 to 1.2.1
import './bootstrap.js'; | ||
import CMS, { init } from 'netlify-cms'; | ||
import 'netlify-cms/dist/cms.css'; | ||
import { Control, Preview } from '../src'; | ||
import { AsyncSelectControl, AsyncSelectPreview } from '../src'; | ||
@@ -93,4 +93,4 @@ const config = { | ||
CMS.registerWidget('async-select', Control, Preview); | ||
CMS.registerWidget('async-select', AsyncSelectControl, AsyncSelectPreview); | ||
init({ config }); |
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"homepage": "https://github.com/chrisboustead/netlify-cms-widget-async-select", | ||
@@ -17,0 +17,0 @@ "license": "MIT", |
@@ -152,2 +152,2 @@ # netlify-cms-widget-select-async | ||
For help with this widget, open an [issue](https://github.com/chrisboustead/netlify-cms-widget-select-async) or ask the Netlify CMS community in [Gitter](https://gitter.im/netlify/netlifycms). | ||
For help with this widget, open an [issue](https://github.com/chrisboustead/netlify-cms-widget-async-select) or ask the Netlify CMS community in [Gitter](https://gitter.im/netlify/netlifycms). |
@@ -1,9 +0,9 @@ | ||
import Control from './Control'; | ||
import Preview from './Preview'; | ||
import AsyncSelectControl from './Control'; | ||
import AsyncSelectPreview from './Preview'; | ||
if (typeof window !== 'undefined') { | ||
window.AsyncSelectControl = Control; | ||
window.AsyncSelect = Preview; | ||
window.AsyncSelectControl = AsyncSelectControl; | ||
window.AsyncSelectPreview = AsyncSelectPreview; | ||
} | ||
export { Control, Preview }; | ||
export { AsyncSelectControl, AsyncSelectPreview }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
3204944