dist/ember-testing.js in ember-source-2.10.0 vs dist/ember-testing.js in ember-source-2.10.1
- 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.10.0
+ * @version 2.10.1
*/
var enifed, requireModule, Ember;
var mainContext = this;
@@ -302,10 +302,11 @@
warning will be removed.
@param {String} [options.url] An optional url to the transition guide on the
emberjs.com website.
@for Ember
@public
+ @since 1.0.0
*/
function deprecate(message, test, options) {
if (!options || !options.id && !options.until) {
deprecate(missingOptionsDeprecation, false, {
@@ -400,10 +401,11 @@
@param {String} desc A description of the assertion. This will become
the text of the Error thrown if the assertion fails.
@param {Boolean} test Must be truthy for the assertion to pass. If
falsy, an exception will be thrown.
@public
+ @since 1.0.0
*/
_emberMetal.setDebugFunction('assert', function assert(desc, test) {
if (!test) {
throw new _emberMetal.Error('Assertion Failed: ' + desc);
}
@@ -722,10 +724,11 @@
`id` for this warning. The `id` can be used by Ember debugging tools
to change the behavior (raise, log, or silence) for that specific warning.
The `id` should be namespaced by dots, e.g. "ember-debug.feature-flag-with-features-stripped"
@for Ember
@public
+ @since 1.0.0
*/
function warn(message, test, options) {
if (!options) {
_emberMetal.deprecate(missingOptionsDeprecation, false, {
@@ -1682,9 +1685,10 @@
@method wait
@param {Object} value The value to be returned.
@return {RSVP.Promise}
@public
+ @since 1.0.0
*/
function wait(app, value) {
return new _emberRuntime.RSVP.Promise(function (resolve) {
var router = app.__container__.lookup('router:main');