dist/ember-testing.js in ember-source-2.5.0.beta.1 vs dist/ember-testing.js in ember-source-2.5.0.beta.4

- old
+ new

@@ -4,11 +4,11 @@ * @copyright Copyright 2011-2016 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.5.0-beta.1 + * @version 2.5.0-beta.4 */ var enifed, requireModule, require, requirejs, Ember; var mainContext = this; @@ -312,11 +312,12 @@ */ /** Define an assertion that will throw an exception if the condition is not met. Ember build tools will remove any calls to `Ember.assert()` when - doing a production build. Example: + doing an Ember.js framework production build and will make the assertion a + no-op for an application production build. Example: ```javascript // Test for truthiness Ember.assert('Must pass a valid object', obj); @@ -486,13 +487,9 @@ if (!_emberMetalCore.default.testing) { // Complain if they're using FEATURE flags in builds other than canary _emberMetalFeatures.FEATURES['features-stripped-test'] = true; var featuresWereStripped = true; - - if (_emberMetalFeatures.default('features-stripped-test')) { - exports.featuresWereStripped = featuresWereStripped = false; - } delete _emberMetalFeatures.FEATURES['features-stripped-test']; _warnIfUsingStrippedFeatureFlags(_emberMetalCore.default.ENV.FEATURES, featuresWereStripped); // Inform the developer about the Ember Inspector if not installed.