dist/ember-testing.js in ember-source-2.14.0.beta.3 vs dist/ember-testing.js in ember-source-2.14.0

- old
+ new

@@ -4,11 +4,11 @@ * @copyright Copyright 2011-2017 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.14.0-beta.3 + * @version 2.14.0 */ var enifed, requireModule, Ember; var mainContext = this; // Used in ember-environment/lib/global.js @@ -1343,11 +1343,11 @@ ``` @method click @param {String} selector jQuery selector for finding element on the DOM @param {Object} context A DOM Element, Document, or jQuery to use as context - @return {RSVP.Promise} + @return {RSVP.Promise<undefined>} @public */ function click(app, selector, context) { var $el = app.testHelpers.findWithAssert(selector, context); var el = $el[0]; @@ -1475,11 +1475,11 @@ @method fillIn @param {String} selector jQuery selector finding an input element on the DOM to fill text with @param {String} text text to place inside the input element - @return {RSVP.Promise} + @return {RSVP.Promise<undefined>} @public */ function fillIn(app, selector, contextOrText, text) { var $el = void 0, el = void 0, @@ -1600,11 +1600,11 @@ ``` @method keyEvent @param {String} selector jQuery selector for finding element on the DOM @param {String} type the type of key event, e.g. `keypress`, `keydown`, `keyup` @param {Number} keyCode the keyCode of the simulated key event - @return {RSVP.Promise} + @return {RSVP.Promise<undefined>} @since 1.5.0 @public */ function keyEvent(app, selector, contextOrType, typeOrKeyCode, keyCode) { var context = void 0, @@ -1691,11 +1691,11 @@ @param {String} selector jQuery selector for finding element on the DOM @param {String} [context] jQuery selector that will limit the selector argument to find only within the context's children @param {String} type The event type to be triggered. @param {Object} [options] The options to be passed to jQuery.Event. - @return {RSVP.Promise} + @return {RSVP.Promise<undefined>} @since 1.5.0 @public */ function triggerEvent(app, selector, contextOrType, typeOrOptions, possibleOptions) { var arity = arguments.length; @@ -1760,11 +1760,11 @@ }); ``` @method visit @param {String} url the name of the route - @return {RSVP.Promise} + @return {RSVP.Promise<undefined>} @public */ function visit(app, url) { var router = app.__container__.lookup('router:main'); var shouldHandleURL = false; @@ -1818,10 +1818,10 @@ .click('.submit'); }); @method wait @param {Object} value The value to be returned. - @return {RSVP.Promise} + @return {RSVP.Promise<any>} Promise that resolves to the passed value. @public @since 1.0.0 */ /** @module ember