// Generated by CoffeeScript 1.7.1
(function() {
  var app, remote;

  remote = require('remote');

  app = window.app;

  app.controller("DropController", function($scope, FileStatusService, Redirector) {
    $scope.needShow = function() {
      return Redirector.isCurrentView(Redirector.views.drop);
    };
    $scope.drop = function(files) {
      var file, _i, _len, _results;
      console.log('[DropController drop] files', files);
      _results = [];
      for (_i = 0, _len = files.length; _i < _len; _i++) {
        file = files[_i];
        _results.push(FileStatusService.load(file.path));
      }
      return _results;
    };
    return console.log('[DropController] init ok');
  });

}).call(this);

//# sourceMappingURL=drop.map
