File tree 7 files changed +10
-15
lines changed
7 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 29
29
30
30
<script >
31
31
import ProgressBar from ' ./ProgressBar' ;
32
+ import $ from ' jquery' ;
32
33
33
34
export default {
34
35
name: ' EditorPassword' ,
Original file line number Diff line number Diff line change @@ -133,7 +133,9 @@ export default {
133
133
value: newTag,
134
134
selected: true ,
135
135
};
136
+ // eslint-disable-next-line vue/no-mutating-props
136
137
this .options .push (tag);
138
+ // eslint-disable-next-line vue/no-mutating-props
137
139
this .value .push (tag);
138
140
this .selected .push (tag);
139
141
},
Original file line number Diff line number Diff line change 53
53
<script >
54
54
import field from ' ../mixins/value' ;
55
55
var emitter = require (' tiny-emitter/instance' );
56
+ import $ from ' jquery' ;
56
57
57
58
export default {
58
59
name: ' EditorSlug' ,
@@ -82,6 +83,7 @@ export default {
82
83
mounted () {
83
84
setTimeout (() => {
84
85
let title = ' ' ;
86
+ // eslint-disable-next-line no-unused-vars
85
87
this .generate .split (' ,' ).forEach ((element ) => {
86
88
title = title + $ (" input[name='fields[${element}]']" ).value ;
87
89
});
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import store from '../../store';
14
14
export default {
15
15
name: ' ListingTable' ,
16
16
components: {
17
+ // eslint-disable-next-line vue/no-unused-components
17
18
draggable: draggable,
18
19
' table-row' : Row,
19
20
},
Original file line number Diff line number Diff line change 1
1
import { createApp } from 'vue' ;
2
- import Vue from 'vue' ;
3
2
import Password from '../editor/Components/Password' ;
4
3
import Text from '../editor/Components/Text' ;
5
4
Original file line number Diff line number Diff line change 1
- import Vue from 'vue' ;
2
1
import { DateTime } from 'luxon' ;
3
2
4
- // Vue.filter('date', string => {
5
- // if (string) {
6
- // return DateTime.fromISO(String(string)).toLocaleString();
7
- // }
8
- // });
9
-
10
3
function formatAsDate ( string ) {
11
4
if ( string ) {
12
5
return DateTime . fromISO ( String ( string ) ) . toLocaleString ( ) ;
@@ -19,8 +12,7 @@ function formatAsDateTime(string) {
19
12
}
20
13
}
21
14
22
- // Vue.filter('datetime', string => {
23
- // if (string) {
24
- // return DateTime.fromISO(String(string)).toLocaleString(DateTime.DATETIME_MED);
25
- // }
26
- // });
15
+ export default {
16
+ formatAsDate,
17
+ formatAsDateTime,
18
+ } ;
Original file line number Diff line number Diff line change 1
- import Vue from 'vue' ;
2
-
3
1
function formatSlugify ( string ) {
4
2
if ( string ) {
5
3
// based on https://gist.github.com/sgmurphy/3095196
You can’t perform that action at this time.
0 commit comments