dist/ember-runtime.js in ember-source-1.8.0 vs dist/ember-runtime.js in ember-source-1.8.1
- old
+ new
@@ -3,11 +3,11 @@
* @copyright Copyright 2011-2014 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 1.8.0
+ * @version 1.8.1
*/
(function() {
var define, requireModule, require, requirejs, Ember;
@@ -4763,11 +4763,11 @@
The core Runtime framework is based on the jQuery API with a number of
performance optimizations.
@class Ember
@static
- @version 1.8.0
+ @version 1.8.1
*/
if ('undefined' === typeof Ember) {
// Create core object. Make it act like an instance of Ember.Namespace so that
// objects assigned to it are given a sane string representation.
@@ -4790,14 +4790,14 @@
/**
@property VERSION
@type String
- @default '1.8.0'
+ @default '1.8.1'
@static
*/
- Ember.VERSION = '1.8.0';
+ Ember.VERSION = '1.8.1';
/**
Standard environmental variables. You can define these in a global `EmberENV`
variable before loading Ember to control various configuration settings.
@@ -4953,21 +4953,23 @@
__exports__["default"] = Ember;
});
define("ember-metal/dependent_keys",
["ember-metal/platform","ember-metal/watching","exports"],
function(__dependency1__, __dependency2__, __exports__) {
- "use strict";
- var create = __dependency1__.create;
+ // Remove "use strict"; from transpiled module until
+ // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
+ //
+ // REMOVE_USE_STRICT: true
+
+ var o_create = __dependency1__.create;
var watch = __dependency2__.watch;
var unwatch = __dependency2__.unwatch;
/**
@module ember-metal
*/
- var o_create = create;
-
// ..........................................................
// DEPENDENT KEYS
//
// data structure:
@@ -5389,11 +5391,15 @@
__exports__["default"] = EmberError;
});
define("ember-metal/events",
["ember-metal/core","ember-metal/utils","ember-metal/platform","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
- "use strict";
+ // Remove "use strict"; from transpiled module until
+ // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
+ //
+ // REMOVE_USE_STRICT: true
+
/**
@module ember-metal
*/
var Ember = __dependency1__["default"];
var meta = __dependency2__.meta;
@@ -7160,11 +7166,15 @@
}
});
define("ember-metal/mixin",
["ember-metal/core","ember-metal/merge","ember-metal/array","ember-metal/platform","ember-metal/utils","ember-metal/expand_properties","ember-metal/properties","ember-metal/computed","ember-metal/binding","ember-metal/observer","ember-metal/events","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __dependency5__, __dependency6__, __dependency7__, __dependency8__, __dependency9__, __dependency10__, __dependency11__, __exports__) {
- "use strict";
+ // Remove "use strict"; from transpiled module until
+ // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
+ //
+ // REMOVE_USE_STRICT: true
+
/**
@module ember
@submodule ember-metal
*/
@@ -9185,11 +9195,14 @@
// only trigger a change if the value has changed
if (value !== currentValue) {
propertyWillChange(obj, keyName);
if (hasPropertyAccessors) {
- if ((currentValue === undefined && !(keyName in obj)) || !obj.propertyIsEnumerable(keyName)) {
+ if (
+ (currentValue === undefined && !(keyName in obj)) ||
+ !Object.prototype.propertyIsEnumerable.call(obj, keyName)
+ ) {
defineProperty(obj, keyName, null, value); // setup mandatory setter
} else {
meta.values[keyName] = value;
}
} else {
@@ -9932,11 +9945,15 @@
}
});
define("ember-metal/utils",
["ember-metal/core","ember-metal/platform","ember-metal/array","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
- "use strict";
+ // Remove "use strict"; from transpiled module until
+ // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
+ //
+ // REMOVE_USE_STRICT: true
+
var Ember = __dependency1__["default"];
var o_defineProperty = __dependency2__.defineProperty;
var canDefineNonEnumerableProperties = __dependency2__.canDefineNonEnumerableProperties;
var hasPropertyAccessors = __dependency2__.hasPropertyAccessors;
var create = __dependency2__.create;
@@ -10853,11 +10870,11 @@
// this x in Y deopts, so keeping it in this function is better;
if (keyName in obj) {
m.values[keyName] = obj[keyName];
o_defineProperty(obj, keyName, {
configurable: true,
- enumerable: obj.propertyIsEnumerable(keyName),
+ enumerable: Object.prototype.propertyIsEnumerable.call(obj, keyName),
set: MANDATORY_SETTER_FUNCTION(keyName),
get: DEFAULT_GETTER_FUNCTION(keyName)
});
}
};
@@ -10878,10 +10895,10 @@
if (hasPropertyAccessors && keyName in obj) {
o_defineProperty(obj, keyName, {
configurable: true,
- enumerable: obj.propertyIsEnumerable(keyName),
+ enumerable: Object.prototype.propertyIsEnumerable.call(obj, keyName),
set: function(val) {
// redefine to set as enumerable
o_defineProperty(obj, keyName, {
configurable: true,
writable: true,