Skip to content
Snippets Groups Projects
Commit 386953e3 authored by Christos's avatar Christos
Browse files

Merge branch 'fix' into 'master'

get schema

See merge request !204
parents db253fce a9e60e39
No related branches found
No related tags found
1 merge request!204get schema
...@@ -31,10 +31,9 @@ const serializer = schema => { ...@@ -31,10 +31,9 @@ const serializer = schema => {
}; };
}; };
let schema;
const createApplication = props => { const createApplication = props => {
const application = Application.create(props); const application = Application.create(props);
schema = application.getSchema(); application.getSchema();
application.bootServices(); application.bootServices();
return application; return application;
}; };
...@@ -69,7 +68,7 @@ const Wax = props => { ...@@ -69,7 +68,7 @@ const Wax = props => {
if (!application) return null; if (!application) return null;
const WaxOnchange = onChange ? onChange : value => true; const WaxOnchange = onChange ? onChange : value => true;
const { schema } = application.schema;
const editorContent = value || ''; const editorContent = value || '';
finalPlugins = defaultPlugins.concat([ finalPlugins = defaultPlugins.concat([
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment