dist/globals/ember-data.prod.js in ember-data-source-2.14.2 vs dist/globals/ember-data.prod.js in ember-data-source-2.14.4

- old
+ new

@@ -4,11 +4,11 @@ /*! * @overview Ember Data * @copyright Copyright 2011-2017 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) - * @version 2.14.2 + * @version 2.14.4 */ var loader, define, requireModule, require, requirejs; (function (global) { @@ -10054,11 +10054,13 @@ internalModel.loadedData(); var record = internalModel.getRecord(properties); // TODO @runspired this should also be coalesced into some form of internalModel.setState() internalModel.eachRelationship(function (key, descriptor) { - internalModel._relationships.get(key).setHasData(true); + if (properties[key] !== undefined) { + internalModel._relationships.get(key).setHasData(true); + } }); return record; }, @@ -12689,11 +12691,11 @@ break; } } if (foundSep === false) { - break; + continue; } var field = header.substring(0, j).trim(); var value = header.substring(j + 1, header.length).trim(); @@ -17635,10 +17637,10 @@ }); define("ember-data/version", ["exports"], function (exports) { "use strict"; exports.__esModule = true; - exports.default = "2.14.2"; + exports.default = "2.14.4"; }); define("ember-inflector", ["module", "exports", "ember", "ember-inflector/lib/system", "ember-inflector/lib/ext/string"], function (module, exports, _ember, _system) { "use strict"; exports.__esModule = true;