dist/ember-runtime.js in ember-source-2.15.0 vs dist/ember-runtime.js in ember-source-2.15.1

- 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.15.0 + * @version 2.15.1 */ var enifed, requireModule, Ember; var mainContext = this; // Used in ember-environment/lib/global.js @@ -5359,10 +5359,16 @@ return stack; }; var onerror = void 0; + var onErrorTarget = { + get onerror() { + return dispatchOverride || onerror; + } + }; + // Ember.onerror getter function getOnerror() { return onerror; } // Ember.onerror setter @@ -5677,18 +5683,9 @@ } function onEnd(current, next) { run$1.currentRunLoop = next; } - - var onErrorTarget = { - get onerror() { - return dispatchError; - }, - set onerror(handler) { - return setOnerror(handler); - } - }; var backburner = new Backburner(['sync', 'actions', 'destroy'], { GUID_KEY: emberUtils.GUID_KEY, sync: { before: beginPropertyChanges,