Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var React = require('react/addons');
var _ = require('underscore');
var ReactCSSTransitionGroup = React.addons.CSSTransitionGroup;
var cx = React.addons.classSet;
var update = React.addons.update;
var DragDropMixin = require('react-dnd').DragDropMixin;
var NativeDragItemTypes = require('react-dnd').NativeDragItemTypes;
var EnabledMixin = require('./mixins/enabled_mixin.js');
var LibraryArtistItem = require('./library_artist_item.jsx');
var LibraryFileUpload = require('./library_file_upload.jsx');
var MPDiscoController = require('./mpdisco_controller.js');
var tree = require('./mpdisco_model.js').tree;
var Library = React.createClass({
mixins: [DragDropMixin, EnabledMixin, tree.mixin],
propTypes: {
controller: React.PropTypes.instanceOf(MPDiscoController).isRequired