ember-source 2.11.0.beta.3 → 2.11.0.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/dist/ember-runtime.js +2 -2
- data/dist/ember-template-compiler.js +29 -9
- data/dist/ember-testing.js +5 -1
- data/dist/ember.debug.js +12 -14
- data/dist/ember.js +12 -14
- data/dist/ember.min.js +6 -7
- data/dist/ember.prod.js +8 -14
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed521d66a5c7433f238889cbf87490a079e471c2
|
4
|
+
data.tar.gz: 5b295833a53d0a478c81c78dded94f4b03b8e646
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85b9c8e5a6136b7b5a4c9dcf58c29cfe68feaf0f05d49f3610149dd3c74e3aa8b70a0a6b09b6c94d2c01a6be388e0d6ee7fd9d4473180b521a8bb63862c69091
|
7
|
+
data.tar.gz: baf33be7a0f46507ce15835a6416e7ce5b7a50ed9a6ae2c18a243d23e644f89adbd3ab0242e4aafada2c26e87d30b92ddda605a92ff37c7e67072886957fa940
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.11.0-beta.
|
1
|
+
2.11.0-beta.4
|
data/dist/ember-runtime.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
7
7
|
* @license Licensed under MIT license
|
8
8
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
9
|
-
* @version 2.11.0-beta.
|
9
|
+
* @version 2.11.0-beta.4
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -19405,7 +19405,7 @@ enifed("ember/features", ["exports"], function (exports) {
|
|
19405
19405
|
enifed("ember/version", ["exports"], function (exports) {
|
19406
19406
|
"use strict";
|
19407
19407
|
|
19408
|
-
exports.default = "2.11.0-beta.
|
19408
|
+
exports.default = "2.11.0-beta.4";
|
19409
19409
|
});
|
19410
19410
|
enifed('rsvp', ['exports'], function (exports) {
|
19411
19411
|
'use strict';
|
@@ -6,7 +6,7 @@
|
|
6
6
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
7
7
|
* @license Licensed under MIT license
|
8
8
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
9
|
-
* @version 2.11.0-beta.
|
9
|
+
* @version 2.11.0-beta.4
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -1454,6 +1454,7 @@ enifed('ember-debug/deprecate', ['exports', 'ember-metal', 'ember-console', 'emb
|
|
1454
1454
|
emberjs.com website.
|
1455
1455
|
@for Ember
|
1456
1456
|
@public
|
1457
|
+
@since 1.0.0
|
1457
1458
|
*/
|
1458
1459
|
|
1459
1460
|
function deprecate(message, test, options) {
|
@@ -1552,6 +1553,7 @@ enifed('ember-debug/index', ['exports', 'ember-metal', 'ember-environment', 'emb
|
|
1552
1553
|
@param {Boolean} test Must be truthy for the assertion to pass. If
|
1553
1554
|
falsy, an exception will be thrown.
|
1554
1555
|
@public
|
1556
|
+
@since 1.0.0
|
1555
1557
|
*/
|
1556
1558
|
_emberMetal.setDebugFunction('assert', function assert(desc, test) {
|
1557
1559
|
if (!test) {
|
@@ -1874,6 +1876,7 @@ enifed('ember-debug/warn', ['exports', 'ember-console', 'ember-metal', 'ember-de
|
|
1874
1876
|
The `id` should be namespaced by dots, e.g. "ember-debug.feature-flag-with-features-stripped"
|
1875
1877
|
@for Ember
|
1876
1878
|
@public
|
1879
|
+
@since 1.0.0
|
1877
1880
|
*/
|
1878
1881
|
|
1879
1882
|
function warn(message, test, options) {
|
@@ -10192,19 +10195,24 @@ enifed('ember-template-compiler/plugins/transform-attrs-into-args', ['exports'],
|
|
10192
10195
|
this.syntax = null;
|
10193
10196
|
}
|
10194
10197
|
|
10195
|
-
function isAttrs(node) {
|
10196
|
-
|
10197
|
-
|
10198
|
+
function isAttrs(node, symbols) {
|
10199
|
+
var name = node.parts[0];
|
10200
|
+
|
10201
|
+
if (symbols.indexOf(name) !== -1) {
|
10202
|
+
return false;
|
10198
10203
|
}
|
10199
10204
|
|
10200
|
-
|
10201
|
-
|
10205
|
+
if (name === 'attrs') {
|
10206
|
+
return true;
|
10207
|
+
}
|
10202
10208
|
|
10203
|
-
if (
|
10209
|
+
if (name === null && node.parts[1] === 'attrs') {
|
10204
10210
|
node.parts.shift();
|
10205
10211
|
node.original = node.original.slice(5);
|
10206
10212
|
return true;
|
10207
10213
|
}
|
10214
|
+
|
10215
|
+
return false;
|
10208
10216
|
}
|
10209
10217
|
|
10210
10218
|
/**
|
@@ -10217,9 +10225,21 @@ enifed('ember-template-compiler/plugins/transform-attrs-into-args', ['exports'],
|
|
10217
10225
|
var traverse = _syntax.traverse;
|
10218
10226
|
var b = _syntax.builders;
|
10219
10227
|
|
10228
|
+
var stack = [[]];
|
10229
|
+
|
10220
10230
|
traverse(ast, {
|
10231
|
+
Program: {
|
10232
|
+
enter: function (node) {
|
10233
|
+
var parent = stack[stack.length - 1];
|
10234
|
+
stack.push(parent.concat(node.blockParams));
|
10235
|
+
},
|
10236
|
+
exit: function (node) {
|
10237
|
+
stack.pop();
|
10238
|
+
}
|
10239
|
+
},
|
10240
|
+
|
10221
10241
|
PathExpression: function (node) {
|
10222
|
-
if (isAttrs(node)) {
|
10242
|
+
if (isAttrs(node, stack[stack.length - 1])) {
|
10223
10243
|
var path = b.path(node.original.substr(6));
|
10224
10244
|
path.original = '@' + path.original;
|
10225
10245
|
path.data = true;
|
@@ -11977,7 +11997,7 @@ enifed("ember/features", ["exports"], function (exports) {
|
|
11977
11997
|
enifed("ember/version", ["exports"], function (exports) {
|
11978
11998
|
"use strict";
|
11979
11999
|
|
11980
|
-
exports.default = "2.11.0-beta.
|
12000
|
+
exports.default = "2.11.0-beta.4";
|
11981
12001
|
});
|
11982
12002
|
enifed("glimmer-compiler/index", ["exports", "glimmer-compiler/lib/compiler", "glimmer-compiler/lib/template-visitor"], function (exports, _glimmerCompilerLibCompiler, _glimmerCompilerLibTemplateVisitor) {
|
11983
12003
|
"use strict";
|
data/dist/ember-testing.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
7
7
|
* @license Licensed under MIT license
|
8
8
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
9
|
-
* @version 2.11.0-beta.
|
9
|
+
* @version 2.11.0-beta.4
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -301,6 +301,7 @@ enifed('ember-debug/deprecate', ['exports', 'ember-metal', 'ember-console', 'emb
|
|
301
301
|
emberjs.com website.
|
302
302
|
@for Ember
|
303
303
|
@public
|
304
|
+
@since 1.0.0
|
304
305
|
*/
|
305
306
|
|
306
307
|
function deprecate(message, test, options) {
|
@@ -399,6 +400,7 @@ enifed('ember-debug/index', ['exports', 'ember-metal', 'ember-environment', 'emb
|
|
399
400
|
@param {Boolean} test Must be truthy for the assertion to pass. If
|
400
401
|
falsy, an exception will be thrown.
|
401
402
|
@public
|
403
|
+
@since 1.0.0
|
402
404
|
*/
|
403
405
|
_emberMetal.setDebugFunction('assert', function assert(desc, test) {
|
404
406
|
if (!test) {
|
@@ -721,6 +723,7 @@ enifed('ember-debug/warn', ['exports', 'ember-console', 'ember-metal', 'ember-de
|
|
721
723
|
The `id` should be namespaced by dots, e.g. "ember-debug.feature-flag-with-features-stripped"
|
722
724
|
@for Ember
|
723
725
|
@public
|
726
|
+
@since 1.0.0
|
724
727
|
*/
|
725
728
|
|
726
729
|
function warn(message, test, options) {
|
@@ -1681,6 +1684,7 @@ enifed('ember-testing/helpers/wait', ['exports', 'ember-testing/test/waiters', '
|
|
1681
1684
|
@param {Object} value The value to be returned.
|
1682
1685
|
@return {RSVP.Promise}
|
1683
1686
|
@public
|
1687
|
+
@since 1.0.0
|
1684
1688
|
*/
|
1685
1689
|
|
1686
1690
|
function wait(app, value) {
|
data/dist/ember.debug.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
7
7
|
* @license Licensed under MIT license
|
8
8
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
9
|
-
* @version 2.11.0-beta.
|
9
|
+
* @version 2.11.0-beta.4
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -5594,6 +5594,7 @@ enifed('ember-debug/deprecate', ['exports', 'ember-metal', 'ember-console', 'emb
|
|
5594
5594
|
emberjs.com website.
|
5595
5595
|
@for Ember
|
5596
5596
|
@public
|
5597
|
+
@since 1.0.0
|
5597
5598
|
*/
|
5598
5599
|
|
5599
5600
|
function deprecate(message, test, options) {
|
@@ -5692,6 +5693,7 @@ enifed('ember-debug/index', ['exports', 'ember-metal', 'ember-environment', 'emb
|
|
5692
5693
|
@param {Boolean} test Must be truthy for the assertion to pass. If
|
5693
5694
|
falsy, an exception will be thrown.
|
5694
5695
|
@public
|
5696
|
+
@since 1.0.0
|
5695
5697
|
*/
|
5696
5698
|
_emberMetal.setDebugFunction('assert', function assert(desc, test) {
|
5697
5699
|
if (!test) {
|
@@ -6014,6 +6016,7 @@ enifed('ember-debug/warn', ['exports', 'ember-console', 'ember-metal', 'ember-de
|
|
6014
6016
|
The `id` should be namespaced by dots, e.g. "ember-debug.feature-flag-with-features-stripped"
|
6015
6017
|
@for Ember
|
6016
6018
|
@public
|
6019
|
+
@since 1.0.0
|
6017
6020
|
*/
|
6018
6021
|
|
6019
6022
|
function warn(message, test, options) {
|
@@ -10014,8 +10017,8 @@ enifed('ember-glimmer/helpers/get', ['exports', 'ember-metal', 'ember-glimmer/ut
|
|
10014
10017
|
|
10015
10018
|
```handlebars
|
10016
10019
|
{{get person factName}}
|
10017
|
-
<button {{action (mut factName) "height"}}>Show height</button>
|
10018
|
-
<button {{action (mut factName) "weight"}}>Show weight</button>
|
10020
|
+
<button {{action (action (mut factName)) "height"}}>Show height</button>
|
10021
|
+
<button {{action (action (mut factName)) "weight"}}>Show weight</button>
|
10019
10022
|
```
|
10020
10023
|
|
10021
10024
|
The `{{get}}` helper can also respect mutable values itself. For example:
|
@@ -38274,6 +38277,7 @@ enifed('ember-testing/helpers/wait', ['exports', 'ember-testing/test/waiters', '
|
|
38274
38277
|
@param {Object} value The value to be returned.
|
38275
38278
|
@return {RSVP.Promise}
|
38276
38279
|
@public
|
38280
|
+
@since 1.0.0
|
38277
38281
|
*/
|
38278
38282
|
|
38279
38283
|
function wait(app, value) {
|
@@ -40486,7 +40490,9 @@ enifed('ember-views/mixins/view_support', ['exports', 'ember-utils', 'ember-meta
|
|
40486
40490
|
}
|
40487
40491
|
}), _Mixin$create.$ = function (sel) {
|
40488
40492
|
_emberMetal.assert('You cannot access this.$() on a component with `tagName: \'\'` specified.', this.tagName !== '');
|
40489
|
-
|
40493
|
+
if (this.element) {
|
40494
|
+
return sel ? _emberViewsSystemJquery.default(sel, this.element) : _emberViewsSystemJquery.default(this.element);
|
40495
|
+
}
|
40490
40496
|
}, _Mixin$create.appendTo = function (selector) {
|
40491
40497
|
var env = this._environment || _emberEnvironment.environment;
|
40492
40498
|
var target = undefined;
|
@@ -41619,10 +41625,6 @@ enifed('ember-views/views/states/default', ['exports', 'ember-metal'], function
|
|
41619
41625
|
throw new _emberMetal.Error('You can\'t use appendChild outside of the rendering process');
|
41620
41626
|
},
|
41621
41627
|
|
41622
|
-
$: function () {
|
41623
|
-
return undefined;
|
41624
|
-
},
|
41625
|
-
|
41626
41628
|
// Handle events from `Ember.EventDispatcher`
|
41627
41629
|
handleEvent: function () {
|
41628
41630
|
return true; // continue event propagation
|
@@ -41654,16 +41656,12 @@ enifed('ember-views/views/states/destroying', ['exports', 'ember-utils', 'ember-
|
|
41654
41656
|
|
41655
41657
|
exports.default = destroying;
|
41656
41658
|
});
|
41657
|
-
enifed('ember-views/views/states/has_element', ['exports', 'ember-utils', 'ember-views/views/states/default', 'ember-metal'
|
41659
|
+
enifed('ember-views/views/states/has_element', ['exports', 'ember-utils', 'ember-views/views/states/default', 'ember-metal'], function (exports, _emberUtils, _emberViewsViewsStatesDefault, _emberMetal) {
|
41658
41660
|
'use strict';
|
41659
41661
|
|
41660
41662
|
var hasElement = Object.create(_emberViewsViewsStatesDefault.default);
|
41661
41663
|
|
41662
41664
|
_emberUtils.assign(hasElement, {
|
41663
|
-
$: function (view, sel) {
|
41664
|
-
var elem = view.element;
|
41665
|
-
return sel ? _emberViewsSystemJquery.default(sel, elem) : _emberViewsSystemJquery.default(elem);
|
41666
|
-
},
|
41667
41665
|
|
41668
41666
|
rerender: function (view) {
|
41669
41667
|
view.renderer.rerender(view);
|
@@ -42761,7 +42759,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils',
|
|
42761
42759
|
enifed("ember/version", ["exports"], function (exports) {
|
42762
42760
|
"use strict";
|
42763
42761
|
|
42764
|
-
exports.default = "2.11.0-beta.
|
42762
|
+
exports.default = "2.11.0-beta.4";
|
42765
42763
|
});
|
42766
42764
|
enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {
|
42767
42765
|
'use strict';
|
data/dist/ember.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
7
7
|
* @license Licensed under MIT license
|
8
8
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
9
|
-
* @version 2.11.0-beta.
|
9
|
+
* @version 2.11.0-beta.4
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -5594,6 +5594,7 @@ enifed('ember-debug/deprecate', ['exports', 'ember-metal', 'ember-console', 'emb
|
|
5594
5594
|
emberjs.com website.
|
5595
5595
|
@for Ember
|
5596
5596
|
@public
|
5597
|
+
@since 1.0.0
|
5597
5598
|
*/
|
5598
5599
|
|
5599
5600
|
function deprecate(message, test, options) {
|
@@ -5692,6 +5693,7 @@ enifed('ember-debug/index', ['exports', 'ember-metal', 'ember-environment', 'emb
|
|
5692
5693
|
@param {Boolean} test Must be truthy for the assertion to pass. If
|
5693
5694
|
falsy, an exception will be thrown.
|
5694
5695
|
@public
|
5696
|
+
@since 1.0.0
|
5695
5697
|
*/
|
5696
5698
|
_emberMetal.setDebugFunction('assert', function assert(desc, test) {
|
5697
5699
|
if (!test) {
|
@@ -6014,6 +6016,7 @@ enifed('ember-debug/warn', ['exports', 'ember-console', 'ember-metal', 'ember-de
|
|
6014
6016
|
The `id` should be namespaced by dots, e.g. "ember-debug.feature-flag-with-features-stripped"
|
6015
6017
|
@for Ember
|
6016
6018
|
@public
|
6019
|
+
@since 1.0.0
|
6017
6020
|
*/
|
6018
6021
|
|
6019
6022
|
function warn(message, test, options) {
|
@@ -10014,8 +10017,8 @@ enifed('ember-glimmer/helpers/get', ['exports', 'ember-metal', 'ember-glimmer/ut
|
|
10014
10017
|
|
10015
10018
|
```handlebars
|
10016
10019
|
{{get person factName}}
|
10017
|
-
<button {{action (mut factName) "height"}}>Show height</button>
|
10018
|
-
<button {{action (mut factName) "weight"}}>Show weight</button>
|
10020
|
+
<button {{action (action (mut factName)) "height"}}>Show height</button>
|
10021
|
+
<button {{action (action (mut factName)) "weight"}}>Show weight</button>
|
10019
10022
|
```
|
10020
10023
|
|
10021
10024
|
The `{{get}}` helper can also respect mutable values itself. For example:
|
@@ -38274,6 +38277,7 @@ enifed('ember-testing/helpers/wait', ['exports', 'ember-testing/test/waiters', '
|
|
38274
38277
|
@param {Object} value The value to be returned.
|
38275
38278
|
@return {RSVP.Promise}
|
38276
38279
|
@public
|
38280
|
+
@since 1.0.0
|
38277
38281
|
*/
|
38278
38282
|
|
38279
38283
|
function wait(app, value) {
|
@@ -40486,7 +40490,9 @@ enifed('ember-views/mixins/view_support', ['exports', 'ember-utils', 'ember-meta
|
|
40486
40490
|
}
|
40487
40491
|
}), _Mixin$create.$ = function (sel) {
|
40488
40492
|
_emberMetal.assert('You cannot access this.$() on a component with `tagName: \'\'` specified.', this.tagName !== '');
|
40489
|
-
|
40493
|
+
if (this.element) {
|
40494
|
+
return sel ? _emberViewsSystemJquery.default(sel, this.element) : _emberViewsSystemJquery.default(this.element);
|
40495
|
+
}
|
40490
40496
|
}, _Mixin$create.appendTo = function (selector) {
|
40491
40497
|
var env = this._environment || _emberEnvironment.environment;
|
40492
40498
|
var target = undefined;
|
@@ -41619,10 +41625,6 @@ enifed('ember-views/views/states/default', ['exports', 'ember-metal'], function
|
|
41619
41625
|
throw new _emberMetal.Error('You can\'t use appendChild outside of the rendering process');
|
41620
41626
|
},
|
41621
41627
|
|
41622
|
-
$: function () {
|
41623
|
-
return undefined;
|
41624
|
-
},
|
41625
|
-
|
41626
41628
|
// Handle events from `Ember.EventDispatcher`
|
41627
41629
|
handleEvent: function () {
|
41628
41630
|
return true; // continue event propagation
|
@@ -41654,16 +41656,12 @@ enifed('ember-views/views/states/destroying', ['exports', 'ember-utils', 'ember-
|
|
41654
41656
|
|
41655
41657
|
exports.default = destroying;
|
41656
41658
|
});
|
41657
|
-
enifed('ember-views/views/states/has_element', ['exports', 'ember-utils', 'ember-views/views/states/default', 'ember-metal'
|
41659
|
+
enifed('ember-views/views/states/has_element', ['exports', 'ember-utils', 'ember-views/views/states/default', 'ember-metal'], function (exports, _emberUtils, _emberViewsViewsStatesDefault, _emberMetal) {
|
41658
41660
|
'use strict';
|
41659
41661
|
|
41660
41662
|
var hasElement = Object.create(_emberViewsViewsStatesDefault.default);
|
41661
41663
|
|
41662
41664
|
_emberUtils.assign(hasElement, {
|
41663
|
-
$: function (view, sel) {
|
41664
|
-
var elem = view.element;
|
41665
|
-
return sel ? _emberViewsSystemJquery.default(sel, elem) : _emberViewsSystemJquery.default(elem);
|
41666
|
-
},
|
41667
41665
|
|
41668
41666
|
rerender: function (view) {
|
41669
41667
|
view.renderer.rerender(view);
|
@@ -42761,7 +42759,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils',
|
|
42761
42759
|
enifed("ember/version", ["exports"], function (exports) {
|
42762
42760
|
"use strict";
|
42763
42761
|
|
42764
|
-
exports.default = "2.11.0-beta.
|
42762
|
+
exports.default = "2.11.0-beta.4";
|
42765
42763
|
});
|
42766
42764
|
enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {
|
42767
42765
|
'use strict';
|
data/dist/ember.min.js
CHANGED
@@ -2069,7 +2069,7 @@ this._state=e,t&&t.exit&&t.exit(this),n.enter&&n.enter(this)}})}),s("ember-views
|
|
2069
2069
|
function a(){return this}var u
|
2070
2070
|
e.default=n.Mixin.create((u={concatenatedProperties:["attributeBindings"]},u[o.POST_INIT]=function(){this.trigger("didInitAttrs",{attrs:this.attrs}),this.trigger("didReceiveAttrs",{newAttrs:this.attrs})},u.nearestOfType=function(e){for(var t=this.parentView,r=e instanceof n.Mixin?function(t){return e.detect(t)}:function(t){return e.detect(t.constructor)};t;){if(r(t))return t
|
2071
2071
|
t=t.parentView}},u.nearestWithProperty=function(e){for(var t=this.parentView;t;){if(e in t)return t
|
2072
|
-
t=t.parentView}},u.rerender=function(){return this._currentState.rerender(this)},u.element=n.descriptor({configurable:!1,enumerable:!1,get:function(){return this.renderer.getElement(this)}}),u.$=function(e){return this.
|
2072
|
+
t=t.parentView}},u.rerender=function(){return this._currentState.rerender(this)},u.element=n.descriptor({configurable:!1,enumerable:!1,get:function(){return this.renderer.getElement(this)}}),u.$=function(e){if(this.element)return e?s.default(e,this.element):s.default(this.element)},u.appendTo=function(e){var t=this._environment||r.environment,n=void 0
|
2073
2073
|
return n=t.hasDOM&&"string"==typeof e?document.querySelector(e):e,this.renderer.appendTo(this,n),this},u.renderToElement=function(e){e=e||"body"
|
2074
2074
|
var t=this.renderer.createElement(e)
|
2075
2075
|
return this.renderer.appendTo(this,t),t},u.replaceIn=function(e){var t=s.default(e)
|
@@ -2130,12 +2130,11 @@ for(var r in e)e.hasOwnProperty(r)&&t.assign(n[r],e[r])
|
|
2130
2130
|
return n}e.cloneStates=a
|
2131
2131
|
var u={_default:n.default,preRender:r.default,inDOM:o.default,hasElement:i.default,destroying:s.default}
|
2132
2132
|
e.states=u}),s("ember-views/views/states/default",["exports","ember-metal"],function(e,t){"use strict"
|
2133
|
-
e.default={appendChild:function(){throw new t.Error("You can't use appendChild outside of the rendering process")}
|
2133
|
+
e.default={appendChild:function(){throw new t.Error("You can't use appendChild outside of the rendering process")},handleEvent:function(){return!0},rerender:function(){},destroy:function(){}}}),s("ember-views/views/states/destroying",["exports","ember-utils","ember-metal","ember-views/views/states/default"],function(e,t,n,r){"use strict"
|
2134
2134
|
var i=Object.create(r.default)
|
2135
|
-
t.assign(i,{appendChild:function(){throw new n.Error("You can't call appendChild on a view being destroyed")},rerender:function(){throw new n.Error("You can't call rerender on a view being destroyed")}}),e.default=i}),s("ember-views/views/states/has_element",["exports","ember-utils","ember-views/views/states/default","ember-metal"
|
2136
|
-
var
|
2137
|
-
t.assign(
|
2138
|
-
return t?i.default(t,n):i.default(n)},rerender:function(e){e.renderer.rerender(e)},destroy:function(e){e.renderer.remove(e)},handleEvent:function(e,t,n){return!e.has(t)||r.flaggedInstrument("interaction."+t,{event:n,view:e},function(){return r.run.join(e,e.trigger,t,n)})}}),e.default=o}),s("ember-views/views/states/in_dom",["exports","ember-utils","ember-metal","ember-views/views/states/has_element"],function(e,t,n,r){"use strict"
|
2135
|
+
t.assign(i,{appendChild:function(){throw new n.Error("You can't call appendChild on a view being destroyed")},rerender:function(){throw new n.Error("You can't call rerender on a view being destroyed")}}),e.default=i}),s("ember-views/views/states/has_element",["exports","ember-utils","ember-views/views/states/default","ember-metal"],function(e,t,n,r){"use strict"
|
2136
|
+
var i=Object.create(n.default)
|
2137
|
+
t.assign(i,{rerender:function(e){e.renderer.rerender(e)},destroy:function(e){e.renderer.remove(e)},handleEvent:function(e,t,n){return!e.has(t)||r.flaggedInstrument("interaction."+t,{event:n,view:e},function(){return r.run.join(e,e.trigger,t,n)})}}),e.default=i}),s("ember-views/views/states/in_dom",["exports","ember-utils","ember-metal","ember-views/views/states/has_element"],function(e,t,n,r){"use strict"
|
2139
2138
|
var i=Object.create(r.default)
|
2140
2139
|
t.assign(i,{enter:function(e){e.renderer.register(e)},exit:function(e){e.renderer.unregister(e)}}),e.default=i}),s("ember-views/views/states/pre_render",["exports","ember-views/views/states/default"],function(e,t){"use strict"
|
2141
2140
|
e.default=Object.create(t.default)}),s("ember-views/views/view",["exports"],function(e){"use strict"}),s("ember/features",["exports"],function(e){"use strict"
|
@@ -2156,7 +2155,7 @@ d.setDiff=u.setDiff,d.mapBy=u.mapBy,d.filter=u.filter,d.filterBy=u.filterBy,d.un
|
|
2156
2155
|
var g=o.default.Handlebars=o.default.Handlebars||{},v=o.default.HTMLBars=o.default.HTMLBars||{},y=g.Utils=g.Utils||{}
|
2157
2156
|
if(Object.defineProperty(g,"SafeString",{get:l._getSafeString}),v.template=g.template=l.template,y.escapeExpression=l.escapeExpression,u.String.htmlSafe=l.htmlSafe,u.String.isHTMLSafe=l.isHTMLSafe,v.makeBoundHelper=l.makeBoundHelper,Object.defineProperty(o.default,"TEMPLATES",{get:l.getTemplates,set:l.setTemplates,configurable:!1,enumerable:!1}),e.VERSION=c.default,o.default.VERSION=c.default,o.libraries.registerCoreLibrary("Ember",c.default),o.default.create=o.deprecateFunc("Ember.create is deprecated in favor of Object.create",{id:"ember-metal.ember-create",until:"3.0.0"},Object.create),o.default.keys=o.deprecateFunc("Ember.keys is deprecated in favor of Object.keys",{id:"ember-metal.ember.keys",until:"3.0.0"},Object.keys),o.default.$=p.jQuery,o.default.ViewTargetActionSupport=p.ViewTargetActionSupport,o.default.ViewUtils={isSimpleClick:p.isSimpleClick,getViewElement:p.getViewElement,getViewBounds:p.getViewBounds,getViewClientRects:p.getViewClientRects,getViewBoundingClientRect:p.getViewBoundingClientRect,getRootViews:p.getRootViews,getChildViews:p.getChildViews},o.default.TextSupport=p.TextSupport,o.default.ComponentLookup=p.ComponentLookup,o.default.EventDispatcher=p.EventDispatcher,o.default.Location=h.Location,o.default.AutoLocation=h.AutoLocation,o.default.HashLocation=h.HashLocation,o.default.HistoryLocation=h.HistoryLocation,o.default.NoneLocation=h.NoneLocation,o.default.controllerFor=h.controllerFor,o.default.generateControllerFactory=h.generateControllerFactory,o.default.generateController=h.generateController,o.default.RouterDSL=h.RouterDSL,o.default.Router=h.Router,o.default.Route=h.Route,o.default.Application=f.Application,o.default.ApplicationInstance=f.ApplicationInstance,o.default.Engine=f.Engine,o.default.EngineInstance=f.EngineInstance,o.default.DefaultResolver=o.default.Resolver=f.Resolver,u.runLoadHooks("Ember.Application",f.Application),o.default.DataAdapter=m.DataAdapter,o.default.ContainerDebugAdapter=m.ContainerDebugAdapter,t.has("ember-template-compiler")&&t.default("ember-template-compiler"),t.has("ember-testing")){var b=t.default("ember-testing")
|
2158
2157
|
o.default.Test=b.Test,o.default.Test.Adapter=b.Adapter,o.default.Test.QUnitAdapter=b.QUnitAdapter,o.default.setupForTesting=b.setupForTesting}u.runLoadHooks("Ember"),e.default=o.default,"object"==typeof module&&module.exports?module.exports=o.default:n.context.exports.Ember=n.context.exports.Em=o.default}),s("ember/version",["exports"],function(e){"use strict"
|
2159
|
-
e.default="2.11.0-beta.
|
2158
|
+
e.default="2.11.0-beta.4"}),s("internal-test-helpers/apply-mixins",["exports","ember-utils"],function(e,t){"use strict"
|
2160
2159
|
function n(e){return Array.isArray(e.cases)&&"function"==typeof e.generate}function r(e){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o]
|
2161
2160
|
return i.forEach(function(r){var i=void 0
|
2162
2161
|
n(r)?function(){var e=r
|
data/dist/ember.prod.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
7
7
|
* @license Licensed under MIT license
|
8
8
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
9
|
-
* @version 2.11.0-beta.
|
9
|
+
* @version 2.11.0-beta.4
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -9257,8 +9257,8 @@ enifed('ember-glimmer/helpers/get', ['exports', 'ember-metal', 'ember-glimmer/ut
|
|
9257
9257
|
|
9258
9258
|
```handlebars
|
9259
9259
|
{{get person factName}}
|
9260
|
-
<button {{action (mut factName) "height"}}>Show height</button>
|
9261
|
-
<button {{action (mut factName) "weight"}}>Show weight</button>
|
9260
|
+
<button {{action (action (mut factName)) "height"}}>Show height</button>
|
9261
|
+
<button {{action (action (mut factName)) "weight"}}>Show weight</button>
|
9262
9262
|
```
|
9263
9263
|
|
9264
9264
|
The `{{get}}` helper can also respect mutable values itself. For example:
|
@@ -37525,7 +37525,9 @@ enifed('ember-views/mixins/view_support', ['exports', 'ember-utils', 'ember-meta
|
|
37525
37525
|
return this.renderer.getElement(this);
|
37526
37526
|
}
|
37527
37527
|
}), _Mixin$create.$ = function (sel) {
|
37528
|
-
|
37528
|
+
if (this.element) {
|
37529
|
+
return sel ? _emberViewsSystemJquery.default(sel, this.element) : _emberViewsSystemJquery.default(this.element);
|
37530
|
+
}
|
37529
37531
|
}, _Mixin$create.appendTo = function (selector) {
|
37530
37532
|
var env = this._environment || _emberEnvironment.environment;
|
37531
37533
|
var target = undefined;
|
@@ -38615,10 +38617,6 @@ enifed('ember-views/views/states/default', ['exports', 'ember-metal'], function
|
|
38615
38617
|
throw new _emberMetal.Error('You can\'t use appendChild outside of the rendering process');
|
38616
38618
|
},
|
38617
38619
|
|
38618
|
-
$: function () {
|
38619
|
-
return undefined;
|
38620
|
-
},
|
38621
|
-
|
38622
38620
|
// Handle events from `Ember.EventDispatcher`
|
38623
38621
|
handleEvent: function () {
|
38624
38622
|
return true; // continue event propagation
|
@@ -38650,16 +38648,12 @@ enifed('ember-views/views/states/destroying', ['exports', 'ember-utils', 'ember-
|
|
38650
38648
|
|
38651
38649
|
exports.default = destroying;
|
38652
38650
|
});
|
38653
|
-
enifed('ember-views/views/states/has_element', ['exports', 'ember-utils', 'ember-views/views/states/default', 'ember-metal'
|
38651
|
+
enifed('ember-views/views/states/has_element', ['exports', 'ember-utils', 'ember-views/views/states/default', 'ember-metal'], function (exports, _emberUtils, _emberViewsViewsStatesDefault, _emberMetal) {
|
38654
38652
|
'use strict';
|
38655
38653
|
|
38656
38654
|
var hasElement = Object.create(_emberViewsViewsStatesDefault.default);
|
38657
38655
|
|
38658
38656
|
_emberUtils.assign(hasElement, {
|
38659
|
-
$: function (view, sel) {
|
38660
|
-
var elem = view.element;
|
38661
|
-
return sel ? _emberViewsSystemJquery.default(sel, elem) : _emberViewsSystemJquery.default(elem);
|
38662
|
-
},
|
38663
38657
|
|
38664
38658
|
rerender: function (view) {
|
38665
38659
|
view.renderer.rerender(view);
|
@@ -39746,7 +39740,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils',
|
|
39746
39740
|
enifed("ember/version", ["exports"], function (exports) {
|
39747
39741
|
"use strict";
|
39748
39742
|
|
39749
|
-
exports.default = "2.11.0-beta.
|
39743
|
+
exports.default = "2.11.0-beta.4";
|
39750
39744
|
});
|
39751
39745
|
enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {
|
39752
39746
|
'use strict';
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember-source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.0.beta.
|
4
|
+
version: 2.11.0.beta.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yehuda Katz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ember.js source code wrapper for use with Ruby libs.
|
14
14
|
email:
|
@@ -37,18 +37,19 @@ require_paths:
|
|
37
37
|
- lib
|
38
38
|
required_ruby_version: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
43
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.3.1
|
48
48
|
requirements: []
|
49
49
|
rubyforge_project:
|
50
|
-
rubygems_version: 2.
|
50
|
+
rubygems_version: 2.5.1
|
51
51
|
signing_key:
|
52
52
|
specification_version: 4
|
53
53
|
summary: Ember.js source code wrapper.
|
54
54
|
test_files: []
|
55
|
+
has_rdoc:
|