dist/ember.debug.js in ember-source-2.18.0.beta.5 vs dist/ember.debug.js in ember-source-2.18.0
- old
+ new
@@ -4,11 +4,11 @@
* @copyright Copyright 2011-2017 Tilde Inc. and contributors
* Portions Copyright 2006-2011 Strobe Inc.
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
- * @version 2.18.0-beta.5
+ * @version 2.18.0
*/
/*global process */
var enifed, requireModule, Ember;
var mainContext = this; // Used in ember-environment/lib/global.js
@@ -9257,23 +9257,21 @@
method = _ref.method;
var queue = this._queue;
var guid = this.guidForTarget(target);
var targetQueue = guid ? this.targetQueues[guid] : undefined;
- var index = void 0;
if (targetQueue !== undefined) {
var t = void 0;
for (var i = 0, l = targetQueue.length; i < l; i += 2) {
t = targetQueue[i];
if (t === method) {
- index = targetQueue.splice(i, 2)[1];
+ targetQueue.splice(i, 2);
+ break;
}
}
}
- if (index === undefined) {
- index = findItem(target, method, queue);
- }
+ var index = findItem(target, method, queue);
if (index > -1) {
queue.splice(index, 4);
return true;
}
// if not found in current queue
@@ -47718,10 +47716,10 @@
*/
});
enifed("ember/version", ["exports"], function (exports) {
"use strict";
- exports.default = "2.18.0-beta.5";
+ exports.default = "2.18.0";
});
enifed("handlebars", ["exports"], function (exports) {
"use strict";
// File ignored in coverage tests via setting in .istanbul.yml