Clean up: Remove Sortable
This commit is contained in:
		
							parent
							
								
									395cd3d3e5
								
							
						
					
					
						commit
						66aa137326
					
				
					 3 changed files with 0 additions and 9 deletions
				
			
		|  | @ -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", | ||||
|  |  | |||
|  | @ -1,9 +1,6 @@ | |||
| riot = require \riot | ||||
| 
 | ||||
| module.exports = (me) ~> | ||||
| 	riot.mixin \sortable do | ||||
| 		Sortable: require \sortablejs | ||||
| 
 | ||||
| 	if me? | ||||
| 		(require './scripts/stream.ls') me | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue