minor fix

This commit is contained in:
Ricardo
2020-04-19 23:01:38 +01:00
parent 86c40bd77c
commit b303f641cd
3 changed files with 6 additions and 6 deletions

View File

@@ -1,11 +1,11 @@
import $ from 'jquery';
import Compile, { prepareElement, resetElement } from './compile';
import * as Forms from '../forms';
import Forms from '../forms';
import { hex2rgb } from '../utils/colors';
import './presets';
const body = $('body');
const FormState = Forms.default.FormState.Instance;
const FormState = Forms.FormState.Instance;
const compiler = (element, preview = false, callback = () => {}) => {
prepareElement(element);

View File

@@ -1,9 +1,9 @@
import $ from 'jquery';
import * as Forms from '../forms';
import Forms from '../forms';
let body = $('body');
let fields = [];
const FormState = Forms.default.FormState.Instance;
const FormState = Forms.FormState.Instance;
const setField = (field, value) => {
let name = field.prop('name');
let tag = field.prop('tagName').toLowerCase();

File diff suppressed because one or more lines are too long