Skip to content

Commit

Permalink
Reverted unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
psmyrek committed Mar 16, 2022
1 parent a24b6b4 commit 8f57c3e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/ckeditor.js

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

2 changes: 1 addition & 1 deletion dist/ckeditor.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions src/plugin.js
Expand Up @@ -3,11 +3,12 @@
* For licensing, see LICENSE.md.
*/

import * as Vue from 'vue';
import Vue, { version as vueVersion } from 'vue';
import CKEditorComponent from './ckeditor.js';

/* istanbul ignore next */
const [ major ] = Vue.version.split( '.' ).map( i => parseInt( i, 10 ) );
const version = Vue ? Vue.version : vueVersion;
const [ major ] = version.split( '.' ).map( i => parseInt( i, 10 ) );

/* istanbul ignore if */
if ( major < 3 ) {
Expand Down

0 comments on commit 8f57c3e

Please sign in to comment.