Skip to content

Commit

Permalink
fix: language file is not registerd in global environment (fix #845) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
seonim-ryu committed Mar 26, 2020
1 parent 8d6d840 commit 6276e1c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions apps/jquery-editor/src/js/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ $.fn.toastuiEditor = function(...args) {

return this;
};

export default Editor;
2 changes: 2 additions & 0 deletions apps/jquery-editor/src/js/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ $.fn.toastuiEditor = function(...args) {

return this;
};

export default Viewer;
4 changes: 1 addition & 3 deletions apps/jquery-editor/test/editor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
* @author NHN FE Development Lab <dl_javascript@nhn.com>
*/
import $ from 'jquery';
import Editor from '@toast-ui/editor';

import '@/editor';
import Editor from '@/editor';

describe('jQuery wrapper for editor', () => {
let $container;
Expand Down

0 comments on commit 6276e1c

Please sign in to comment.