mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
support drag and drop for playlist items
This commit is contained in:
parent
80929558e6
commit
fd64c014a3
45 changed files with 4202 additions and 3 deletions
19
dashboard-ui/bower_components/dragula.js/test/defaults.js
vendored
Normal file
19
dashboard-ui/bower_components/dragula.js/test/defaults.js
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
'use strict';
|
||||
|
||||
var test = require('tape');
|
||||
var dragula = require('..');
|
||||
|
||||
test('drake has sensible default options', function (t) {
|
||||
var options = {};
|
||||
dragula(options);
|
||||
t.equal(typeof options.moves, 'function', 'options.moves defaults to a method');
|
||||
t.equal(typeof options.accepts, 'function', 'options.accepts defaults to a method');
|
||||
t.equal(typeof options.invalid, 'function', 'options.invalid defaults to a method');
|
||||
t.equal(typeof options.isContainer, 'function', 'options.isContainer defaults to a method');
|
||||
t.equal(options.copy, false, 'options.copy defaults to false');
|
||||
t.equal(options.revertOnSpill, false, 'options.revertOnSpill defaults to false');
|
||||
t.equal(options.removeOnSpill, false, 'options.removeOnSpill defaults to false');
|
||||
t.equal(options.direction, 'vertical', 'options.direction defaults to \'vertical\'');
|
||||
t.equal(options.mirrorContainer, document.body, 'options.mirrorContainer defaults to an document.body');
|
||||
t.end();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue