dist/ember-runtime.js in ember-source-1.11.0 vs dist/ember-runtime.js in ember-source-1.11.0.1

- old
+ new

@@ -8580,11 +8580,11 @@ return false; })(); if (!canDefinePropertyOnDOM) { - exports.defineProperty = defineProperty = function(obj, keyName, desc) { + defineProperty = function(obj, keyName, desc) { var isNode; if (typeof Node === "object") { isNode = obj instanceof Node; } else { @@ -8600,19 +8600,20 @@ }; } } if (!hasES5CompliantDefineProperty) { - exports.defineProperty = defineProperty = function definePropertyPolyfill(obj, keyName, desc) { + defineProperty = function definePropertyPolyfill(obj, keyName, desc) { if (!desc.get) { obj[keyName] = desc.value; } }; } var hasPropertyAccessors = hasES5CompliantDefineProperty; var canDefineNonEnumerableProperties = hasES5CompliantDefineProperty; exports.hasES5CompliantDefineProperty = hasES5CompliantDefineProperty; + exports.defineProperty = defineProperty; exports.hasPropertyAccessors = hasPropertyAccessors; exports.canDefineNonEnumerableProperties = canDefineNonEnumerableProperties; }); enifed('ember-metal/properties', ['exports', 'ember-metal/core', 'ember-metal/utils', 'ember-metal/platform/define_property', 'ember-metal/property_events'], function (exports, Ember, utils, define_property, property_events) { @@ -11236,11 +11237,11 @@ of the tryable */ var tryFinally; if (needsFinallyFix) { - exports.tryFinally = tryFinally = function(tryable, finalizer, binding) { + tryFinally = function(tryable, finalizer, binding) { var result, finalResult, finalError; binding = binding || this; try { @@ -11256,11 +11257,11 @@ if (finalError) { throw finalError; } return (finalResult === undefined) ? result : finalResult; }; } else { - exports.tryFinally = tryFinally = function(tryable, finalizer, binding) { + tryFinally = function(tryable, finalizer, binding) { var result, finalResult; binding = binding || this; try { @@ -11312,11 +11313,11 @@ unless that value is undefined, in which case it is the return value of the tryable. */ var tryCatchFinally; if (needsFinallyFix) { - exports.tryCatchFinally = tryCatchFinally = function(tryable, catchable, finalizer, binding) { + tryCatchFinally = function(tryable, catchable, finalizer, binding) { var result, finalResult, finalError; binding = binding || this; try { @@ -11334,11 +11335,11 @@ if (finalError) { throw finalError; } return (finalResult === undefined) ? result : finalResult; }; } else { - exports.tryCatchFinally = tryCatchFinally = function(tryable, catchable, finalizer, binding) { + tryCatchFinally = function(tryable, catchable, finalizer, binding) { var result, finalResult; binding = binding || this; try { @@ -11532,10 +11533,12 @@ exports.GUID_KEY_PROPERTY = GUID_KEY_PROPERTY; exports.NEXT_SUPER_PROPERTY = NEXT_SUPER_PROPERTY; exports.GUID_KEY = GUID_KEY; exports.META_DESC = META_DESC; exports.EMPTY_META = EMPTY_META; + exports.tryCatchFinally = tryCatchFinally; + exports.tryFinally = tryFinally; }); enifed('ember-metal/watch_key', ['exports', 'ember-metal/core', 'ember-metal/utils', 'ember-metal/platform/define_property', 'ember-metal/properties'], function (exports, Ember, utils, define_property, properties) { 'use strict'; @@ -20295,11 +20298,11 @@ if (Array.prototype[methodName]) { ignore.push(methodName); } }); - exports.NativeArray = NativeArray = NativeArray.without.apply(NativeArray, ignore); + NativeArray = NativeArray.without.apply(NativeArray, ignore); /** Creates an `Ember.NativeArray` from an Array like object. Does not modify the original object. Ember.A is not needed if `Ember.EXTEND_PROTOTYPES` is `true` (the default value). However, @@ -20352,20 +20355,21 @@ @return {void} */ NativeArray.activate = function() { NativeArray.apply(Array.prototype); - exports.A = A = function(arr) { return arr || []; }; + A = function(arr) { return arr || []; }; }; if (Ember['default'].EXTEND_PROTOTYPES === true || Ember['default'].EXTEND_PROTOTYPES.Array) { NativeArray.activate(); } Ember['default'].A = A; // ES6TODO: Setting A onto the object returned by ember-metal/core to avoid circles exports['default'] = NativeArray; exports.A = A; + exports.NativeArray = NativeArray; }); enifed('ember-runtime/system/object', ['exports', 'ember-runtime/system/core_object', 'ember-runtime/mixins/observable'], function (exports, CoreObject, Observable) { 'use strict';