Skip to content

Commit

Permalink
Fix problem caused by changed DiffDOM API (#520)
Browse files Browse the repository at this point in the history
* DiffDOM API change

* another DiffDOM
  • Loading branch information
moesoha authored and iceboy233 committed May 30, 2019
1 parent e669d3c commit 05a8df9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vj4/ui/pages/record_detail.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { NamedPage } from 'vj/misc/PageLoader';

const page = new NamedPage('record_detail', async () => {
const SockJs = await import('sockjs-client');
const DiffDOM = await import('diff-dom');
const { DiffDOM } = await import('diff-dom');

const sock = new SockJs(Context.socketUrl);
const dd = new DiffDOM();
Expand Down
2 changes: 1 addition & 1 deletion vj4/ui/pages/record_main.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import UserSelectAutoComplete from 'vj/components/autocomplete/UserSelectAutoCom

const page = new NamedPage('record_main', async () => {
const SockJs = await import('sockjs-client');
const DiffDOM = await import('diff-dom');
const { DiffDOM } = await import('diff-dom');

const sock = new SockJs(Context.socketUrl);
const dd = new DiffDOM();
Expand Down

0 comments on commit 05a8df9

Please sign in to comment.