Clean up: Remove Sortable
This commit is contained in:
parent
395cd3d3e5
commit
66aa137326
|
@ -123,7 +123,6 @@
|
||||||
"rndstr": "1.0.0",
|
"rndstr": "1.0.0",
|
||||||
"serve-favicon": "2.3.2",
|
"serve-favicon": "2.3.2",
|
||||||
"shelljs": "0.7.6",
|
"shelljs": "0.7.6",
|
||||||
"sortablejs": "1.5.0-rc1",
|
|
||||||
"subdomain": "1.2.0",
|
"subdomain": "1.2.0",
|
||||||
"summaly": "1.2.7",
|
"summaly": "1.2.7",
|
||||||
"swagger-jsdoc": "^1.8.4",
|
"swagger-jsdoc": "^1.8.4",
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
riot = require \riot
|
riot = require \riot
|
||||||
|
|
||||||
module.exports = (me) ~>
|
module.exports = (me) ~>
|
||||||
riot.mixin \sortable do
|
|
||||||
Sortable: require \sortablejs
|
|
||||||
|
|
||||||
if me?
|
if me?
|
||||||
(require './scripts/stream.ls') me
|
(require './scripts/stream.ls') me
|
||||||
|
|
||||||
|
|
|
@ -286,7 +286,6 @@
|
||||||
@mixin \api
|
@mixin \api
|
||||||
@mixin \notify
|
@mixin \notify
|
||||||
@mixin \autocomplete
|
@mixin \autocomplete
|
||||||
@mixin \sortable
|
|
||||||
|
|
||||||
@wait = false
|
@wait = false
|
||||||
@uploadings = []
|
@uploadings = []
|
||||||
|
@ -406,10 +405,6 @@
|
||||||
@trigger \change-files @files
|
@trigger \change-files @files
|
||||||
@update!
|
@update!
|
||||||
|
|
||||||
new @Sortable @refs.attaches, do
|
|
||||||
draggable: \.file
|
|
||||||
animation: 150ms
|
|
||||||
|
|
||||||
@post = (e) ~>
|
@post = (e) ~>
|
||||||
@wait = true
|
@wait = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue