dist/ember-template-compiler.js in ember-source-2.12.0.beta.2 vs dist/ember-template-compiler.js in ember-source-2.12.0.beta.3

- 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.12.0-beta.2 + * @version 2.12.0-beta.3 */ var enifed, requireModule, Ember; var mainContext = this; // Used in ember-environment/lib/global.js @@ -172,11 +172,11 @@ } } return obj; } -babelHelpers = { +var babelHelpers = { classCallCheck: classCallCheck, inherits: inherits, taggedTemplateLiteralLoose: taggedTemplateLiteralLoose, slice: Array.prototype.slice, createClass: createClass, @@ -3999,10 +3999,11 @@ 'use strict'; exports.getOnerror = getOnerror; exports.setOnerror = setOnerror; exports.dispatchError = dispatchError; + exports.getDispatchOverride = getDispatchOverride; exports.setDispatchOverride = setDispatchOverride; // To maintain stacktrace consistency across browsers var getStack = function (error) { var stack = error.stack; @@ -4039,10 +4040,14 @@ } } // allows testing adapter to override dispatch + function getDispatchOverride() { + return dispatchOverride; + } + function setDispatchOverride(handler) { dispatchOverride = handler; } function defaultDispatch(error) { @@ -8671,11 +8676,11 @@ run.currentRunLoop = next; } var onErrorTarget = { get onerror() { - return _emberMetalError_handler.getOnerror(); + return _emberMetalError_handler.dispatchError; }, set onerror(handler) { return _emberMetalError_handler.setOnerror(handler); } }; @@ -11954,12 +11959,11 @@ into the owner. For example, this component dynamically looks up a service based on the `audioType` passed as an attribute: - ``` - // app/components/play-audio.js + ```app/components/play-audio.js import Ember from 'ember'; // Usage: // // {{play-audio audioType=model.audioType audioFile=model.file}} @@ -12140,10 +12144,10 @@ exports.default = { "features-stripped-test": false, "ember-libraries-isregistered": false, "ember-improved-instrumentation": false, "ember-metal-weakmap": false, "ember-glimmer-allow-backtracking-rerender": false, "ember-testing-resume-test": false, "ember-factory-for": true, "ember-no-double-extend": false, "mandatory-setter": true, "ember-glimmer-detect-backtracking-rerender": true }; }); enifed("ember/version", ["exports"], function (exports) { "use strict"; - exports.default = "2.12.0-beta.2"; + exports.default = "2.12.0-beta.3"; }); enifed("glimmer-compiler/index", ["exports", "glimmer-compiler/lib/compiler", "glimmer-compiler/lib/template-visitor"], function (exports, _glimmerCompilerLibCompiler, _glimmerCompilerLibTemplateVisitor) { "use strict"; exports.precompile = _glimmerCompilerLibCompiler.precompile;