dist/ember.debug.js in ember-source-1.11.0.beta.4 vs dist/ember.debug.js in ember-source-1.11.0.beta.5
- old
+ new
@@ -3,11 +3,11 @@
* @copyright Copyright 2011-2015 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 1.11.0-beta.4.a4140e29
+ * @version 1.11.0-beta.5.1501308c
*/
(function() {
var enifed, requireModule, eriuqer, requirejs, Ember;
var mainContext = this;
@@ -7769,12 +7769,12 @@
exports['default'] = renderView;
function renderHTMLBarsTemplate(view, buffer, template) {
Ember['default'].assert(
'The template being rendered by `' + view + '` was compiled with `' + template.revision +
- '` which does not match `Ember@1.11.0-beta.4.a4140e29` (this revision).',
- template.revision === 'Ember@1.11.0-beta.4.a4140e29'
+ '` which does not match `Ember@1.11.0-beta.5.1501308c` (this revision).',
+ template.revision === 'Ember@1.11.0-beta.5.1501308c'
);
var contextualElement = buffer.innerContextualElement();
var args = view._blockArguments;
var env = {
@@ -7810,11 +7810,11 @@
'use strict';
exports['default'] = template['default']((function() {
return {
isHTMLBars: true,
- revision: "Ember@1.11.0-beta.4.a4140e29",
+ revision: "Ember@1.11.0-beta.5.1501308c",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -7857,11 +7857,11 @@
'use strict';
exports['default'] = template['default']((function() {
return {
isHTMLBars: true,
- revision: "Ember@1.11.0-beta.4.a4140e29",
+ revision: "Ember@1.11.0-beta.5.1501308c",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -7897,11 +7897,11 @@
'use strict';
exports['default'] = template['default']((function() {
return {
isHTMLBars: true,
- revision: "Ember@1.11.0-beta.4.a4140e29",
+ revision: "Ember@1.11.0-beta.5.1501308c",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -7944,11 +7944,11 @@
'use strict';
exports['default'] = template['default']((function() {
return {
isHTMLBars: true,
- revision: "Ember@1.11.0-beta.4.a4140e29",
+ revision: "Ember@1.11.0-beta.5.1501308c",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -7992,11 +7992,11 @@
exports['default'] = template['default']((function() {
var child0 = (function() {
return {
isHTMLBars: true,
- revision: "Ember@1.11.0-beta.4.a4140e29",
+ revision: "Ember@1.11.0-beta.5.1501308c",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8035,11 +8035,11 @@
}());
var child1 = (function() {
var child0 = (function() {
return {
isHTMLBars: true,
- revision: "Ember@1.11.0-beta.4.a4140e29",
+ revision: "Ember@1.11.0-beta.5.1501308c",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8075,11 +8075,11 @@
}
};
}());
return {
isHTMLBars: true,
- revision: "Ember@1.11.0-beta.4.a4140e29",
+ revision: "Ember@1.11.0-beta.5.1501308c",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8117,11 +8117,11 @@
}());
var child2 = (function() {
var child0 = (function() {
return {
isHTMLBars: true,
- revision: "Ember@1.11.0-beta.4.a4140e29",
+ revision: "Ember@1.11.0-beta.5.1501308c",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8157,11 +8157,11 @@
}
};
}());
return {
isHTMLBars: true,
- revision: "Ember@1.11.0-beta.4.a4140e29",
+ revision: "Ember@1.11.0-beta.5.1501308c",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -8197,11 +8197,11 @@
}
};
}());
return {
isHTMLBars: true,
- revision: "Ember@1.11.0-beta.4.a4140e29",
+ revision: "Ember@1.11.0-beta.5.1501308c",
blockParams: 0,
cachedFragment: null,
hasRendered: false,
build: function build(dom) {
var el0 = dom.createDocumentFragment();
@@ -11344,11 +11344,11 @@
The core Runtime framework is based on the jQuery API with a number of
performance optimizations.
@class Ember
@static
- @version 1.11.0-beta.4.a4140e29
+ @version 1.11.0-beta.5.1501308c
*/
if ('undefined' === typeof Ember) {
// Create core object. Make it act like an instance of Ember.Namespace so that
// objects assigned to it are given a sane string representation.
@@ -11372,14 +11372,14 @@
/**
@property VERSION
@type String
- @default '1.11.0-beta.4.a4140e29'
+ @default '1.11.0-beta.5.1501308c'
@static
*/
- Ember.VERSION = '1.11.0-beta.4.a4140e29';
+ Ember.VERSION = '1.11.0-beta.5.1501308c';
/**
Standard environmental variables. You can define these in a global `EmberENV`
variable before loading Ember to control various configuration settings.
@@ -18600,10 +18600,11 @@
@submodule ember-routing-htmlbars
*/
function linkToHelper(params, hash, options, env) {
var queryParamsObject;
+ var view = env.data.view;
Ember['default'].assert("You must provide one or more parameters to the link-to helper.", params.length);
var lastParam = params[params.length - 1];
@@ -18633,10 +18634,12 @@
if (utils.isStream(params[i])) {
var lazyValue = params[i];
if (!lazyValue._isController) {
while (ControllerMixin['default'].detect(lazyValue.value())) {
+ Ember['default'].deprecate('Providing `{{link-to}}` with a param that is wrapped in a controller is deprecated. Please update `' + view + '` to use `{{link-to "post" someController.model}}` instead.');
+
lazyValue = lazyValue.get('model');
}
}
params[i] = lazyValue;
@@ -34505,11 +34508,11 @@
exports['default'] = function() {
var disableComponentGeneration = true;
return {
- revision: 'Ember@1.11.0-beta.4.a4140e29',
+ revision: 'Ember@1.11.0-beta.5.1501308c',
disableComponentGeneration: disableComponentGeneration,
plugins: plugins['default']
};
@@ -40283,10 +40286,10 @@
var defaultTemplate = htmlbarsTemplate['default'];
var selectOptionDefaultTemplate = {
isHTMLBars: true,
- revision: 'Ember@1.11.0-beta.4.a4140e29',
+ revision: 'Ember@1.11.0-beta.5.1501308c',
render: function(context, env, contextualElement) {
var lazyValue = context.getStream('view.label');
lazyValue.subscribe(context._wrapAsScheduled(function() {
run['default'].scheduleOnce('render', context, 'rerender');
\ No newline at end of file