Small changes for javascript formatted and structure
This commit is contained in:
parent
398a554c5d
commit
ca8afb0cbe
|
@ -17,5 +17,5 @@ function cursorInsideLink(value, pos) {
|
|||
}
|
||||
|
||||
export default {
|
||||
cursorInsideLink
|
||||
cursorInsideLink,
|
||||
}
|
||||
|
|
|
@ -315,7 +315,7 @@ function editor(root, inputData, options) {
|
|||
|
||||
function enableDragging(rootElement) {
|
||||
let drake = dragula([rootElement], {
|
||||
moves: function (el, container, handle) {
|
||||
moves: function (el, container, handle, sibling) {
|
||||
return handle.classList.contains('marker')
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import _ from 'lodash';
|
||||
import rotate from './util'
|
||||
import util from './util'
|
||||
let rotate = util.rotate;
|
||||
|
||||
/**
|
||||
* NOTE: Store should contain all methods that work with items. At the moment
|
||||
|
|
|
@ -17,4 +17,6 @@ function rotate(a, from, to, k) {
|
|||
}
|
||||
}
|
||||
|
||||
export default rotate;
|
||||
export default {
|
||||
rotate
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user