Skip to content

Commit 21cec95

Browse files
committed
1.4.5
1 parent 2562cf3 commit 21cec95

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

elm.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"direct": {
1010
"feathericons/elm-feather": "1.0.0",
1111
"json-tools/json-value": "1.0.1",
12-
"json-tools/json-schema": "1.0.1",
12+
"json-tools/json-schema": "1.0.2",
1313
"NoRedInk/elm-json-decode-pipeline": "1.0.0",
1414
"elm/browser": "1.0.0",
1515
"elm/core": "1.0.0",

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "json-form-custom-element",
33
"private": false,
4-
"version": "1.4.1",
4+
"version": "1.4.5",
55
"description": "JSON Schema based form generator",
6-
"main": "main/custom-element.js",
7-
"repository": "git://github.com/1602/json-form.git",
6+
"main": "build/custom-element.js",
7+
"repository": "git://github.com/json-tools/json-form.git",
88
"author": "Anatoliy <[email protected]>",
99
"license": "GNU GENERAL PUBLIC LICENSE v3",
1010
"scripts": {

src/custom-element.js

+7-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@ customElements.define('json-form',
4242
}
4343

4444
connectedCallback() {
45-
const app = Elm.JsonFormCustomElement.embed(this._appRoot, {
46-
schema: this._schema,
47-
value: this._value,
48-
config: this._config
45+
const app = Elm.Elm.JsonFormCustomElement.init({
46+
node: this._appRoot,
47+
flags: {
48+
schema: this._schema,
49+
value: this._value,
50+
config: this._config
51+
}
4952
});
5053
this.app = app;
5154

0 commit comments

Comments
 (0)