From 66aa137326a107c06ead805f506ad45ecda584d2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 14 Jan 2017 12:24:55 +0900 Subject: [PATCH] Clean up: Remove Sortable --- package.json | 1 - src/web/app/desktop/mixins.ls | 3 --- src/web/app/desktop/tags/post-form.tag | 5 ----- 3 files changed, 9 deletions(-) diff --git a/package.json b/package.json index 01cf838374..faef0a87e4 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,6 @@ "rndstr": "1.0.0", "serve-favicon": "2.3.2", "shelljs": "0.7.6", - "sortablejs": "1.5.0-rc1", "subdomain": "1.2.0", "summaly": "1.2.7", "swagger-jsdoc": "^1.8.4", diff --git a/src/web/app/desktop/mixins.ls b/src/web/app/desktop/mixins.ls index 0bafe8098f..b099b45165 100644 --- a/src/web/app/desktop/mixins.ls +++ b/src/web/app/desktop/mixins.ls @@ -1,9 +1,6 @@ riot = require \riot module.exports = (me) ~> - riot.mixin \sortable do - Sortable: require \sortablejs - if me? (require './scripts/stream.ls') me diff --git a/src/web/app/desktop/tags/post-form.tag b/src/web/app/desktop/tags/post-form.tag index 2a3ee0e46b..16c7bc4bd1 100644 --- a/src/web/app/desktop/tags/post-form.tag +++ b/src/web/app/desktop/tags/post-form.tag @@ -286,7 +286,6 @@ @mixin \api @mixin \notify @mixin \autocomplete - @mixin \sortable @wait = false @uploadings = [] @@ -406,10 +405,6 @@ @trigger \change-files @files @update! - new @Sortable @refs.attaches, do - draggable: \.file - animation: 150ms - @post = (e) ~> @wait = true