Skip to content

Commit

Permalink
📦 Build
Browse files Browse the repository at this point in the history
  • Loading branch information
Wildhoney committed Apr 20, 2016
1 parent e03eaa2 commit baa19d2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-droplet",
"version": "3.0.0",
"version": "3.1.0",
"homepage": "https://github.com/Wildhoney/EmberDroplet",
"authors": [
"Adam Timberlake <adam.timberlake@gmail.com>"
Expand Down
14 changes: 8 additions & 6 deletions dist/ember-droplet.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,14 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
$Ember.merge(options, this.get('options'));
set(this, 'options', options);

this.DropletEventBus && this.DropletEventBus.subscribe(EVENT_NAME, this, function () {
for (var _len = arguments.length, files = Array(_len), _key = 0; _key < _len; _key++) {
files[_key] = arguments[_key];
this.DropletEventBus && this.DropletEventBus.subscribe(EVENT_NAME, this, function (ctx) {
for (var _len = arguments.length, files = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
files[_key - 1] = arguments[_key];
}

_this.send.apply(_this, ['prepareFiles'].concat(files));
if (!ctx || ctx === _this) {
_this.send.apply(_this, ['prepareFiles'].concat(files));
}
});

this._super();
Expand Down Expand Up @@ -819,7 +821,7 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
handleFiles: function handleFiles(models) {
var _DropletEventBus;

this.DropletEventBus && (_DropletEventBus = this.DropletEventBus).publish.apply(_DropletEventBus, [EVENT_NAME].concat(_toConsumableArray(fromArray(models))));
this.DropletEventBus && (_DropletEventBus = this.DropletEventBus).publish.apply(_DropletEventBus, [EVENT_NAME, this.get('ctx')].concat(_toConsumableArray(fromArray(models))));
return models;
},

Expand Down Expand Up @@ -970,7 +972,7 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
handleFiles: function handleFiles(models) {
var _DropletEventBus2;

this.DropletEventBus && (_DropletEventBus2 = this.DropletEventBus).publish.apply(_DropletEventBus2, [EVENT_NAME].concat(_toConsumableArray(fromArray(models))));
this.DropletEventBus && (_DropletEventBus2 = this.DropletEventBus).publish.apply(_DropletEventBus2, [EVENT_NAME, this.get('ctx')].concat(_toConsumableArray(fromArray(models))));
}

});
Expand Down
2 changes: 1 addition & 1 deletion dist/ember-droplet.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-droplet",
"version": "3.0.0",
"version": "3.1.0",
"author": "Adam Timberlake",
"dependencies": {},
"devDependencies": {
Expand Down

0 comments on commit baa19d2

Please sign in to comment.