dist/ember.prod.js in ember-source-2.10.1 vs dist/ember.prod.js in ember-source-2.10.2

- 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.1 + * @version 2.10.2 */ var enifed, requireModule, Ember; var mainContext = this; @@ -37446,11 +37446,13 @@ enumerable: false, get: function () { return this.renderer.getElement(this); } }), _Mixin$create.$ = function (sel) { - return this._currentState.$(this, sel); + if (this.element) { + return sel ? _emberViewsSystemJquery.default(sel, this.element) : _emberViewsSystemJquery.default(this.element); + } }, _Mixin$create.appendTo = function (selector) { var env = this._environment || _emberEnvironment.environment; var target = undefined; if (env.hasDOM) { @@ -38535,14 +38537,10 @@ // appendChild is only legal while rendering the buffer. appendChild: function () { throw new _emberMetal.Error('You can\'t use appendChild outside of the rendering process'); }, - $: function () { - return undefined; - }, - // Handle events from `Ember.EventDispatcher` handleEvent: function () { return true; // continue event propagation }, @@ -38570,20 +38568,16 @@ } }); exports.default = destroying; }); -enifed('ember-views/views/states/has_element', ['exports', 'ember-utils', 'ember-views/views/states/default', 'ember-metal', 'ember-views/system/jquery'], function (exports, _emberUtils, _emberViewsViewsStatesDefault, _emberMetal, _emberViewsSystemJquery) { +enifed('ember-views/views/states/has_element', ['exports', 'ember-utils', 'ember-views/views/states/default', 'ember-metal'], function (exports, _emberUtils, _emberViewsViewsStatesDefault, _emberMetal) { 'use strict'; var hasElement = Object.create(_emberViewsViewsStatesDefault.default); _emberUtils.assign(hasElement, { - $: function (view, sel) { - var elem = view.element; - return sel ? _emberViewsSystemJquery.default(sel, elem) : _emberViewsSystemJquery.default(elem); - }, rerender: function (view) { view.renderer.rerender(view); }, @@ -39666,10 +39660,10 @@ // reduced computed macros enifed("ember/version", ["exports"], function (exports) { "use strict"; - exports.default = "2.10.1"; + exports.default = "2.10.2"; }); enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) { 'use strict'; exports.default = applyMixins;