Skip to content

Commit

Permalink
fix(formData): formData getter not working
Browse files Browse the repository at this point in the history
updated formData getter to use the getData api

updated travis deploy
  • Loading branch information
kevinchappell committed Nov 6, 2018
1 parent ac03283 commit 235b77e
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ cache:
- node_modules
notifications:
email: false
git:
submodules: false
before_install:
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials
- git config credential.helper "store --file=.git/credentials"
- git config --global user.email "[email protected]"
- "git config --global user.name \"\U0001F916\""
- git submodule update --init --recursive
jobs:
include:
- stage: lint
Expand Down
2 changes: 1 addition & 1 deletion demo/assets/js/demo.min.js

Large diffs are not rendered by default.

Binary file modified demo/assets/js/demo.min.js.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions demo/assets/js/form-builder.min.js

Large diffs are not rendered by default.

Binary file modified demo/assets/js/form-builder.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion demo/assets/js/form-render.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified demo/assets/js/form-render.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}

.wy-side-nav-search {
background-image: url('https://formbuilder.online/assets/img/logo-bg.svg'), linear-gradient(to bottom, #000, #92278F);
background-image: url('https://formbuilder.online/docs/img/logo-bg.svg'), linear-gradient(to bottom, #000, #92278F);
background-size: cover, 100% 100%;
background-position: 50% 0, 50% 0%;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const toast = opts => {

const copyBtnImg = () => {
const img = document.createElement('img')
img.src = '/img/clipboard.svg'
img.src = 'https://formbuilder.online/docs/img/clipboard.svg'
img.className = 'clippy'
img.width = 13
img.alt = 'Copy to clipboard'
Expand Down
2 changes: 1 addition & 1 deletion docs/theme/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<link rel="stylesheet" href="{{ 'css/theme.css'|url }}" type="text/css" />
<link rel="stylesheet" href="{{ 'css/theme_extra.css'|url }}" type="text/css" />
{%- if config.theme.highlightjs %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.2.0/styles/monokai-sublime.min.css">
{%- endif %}
{%- for path in config['extra_css'] %}
<link href="{{ path|url }}" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion src/js/form-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ const FormBuilder = function(opts, element) {
toggleFieldEdit: null,
},
get formData() {
return methods.instance.getData && methods.instance.getData('json')
return methods.instance.actions.getData && methods.instance.actions.getData('json')
},
promise: new Promise(function(resolve, reject) {
mi18n
Expand Down

0 comments on commit 235b77e

Please sign in to comment.