ember-source 2.18.0.beta.2 → 2.18.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20546095e74e0a7981ba694dc6da664d2a41f6ff9676833c5a95057dde3bd60f
4
- data.tar.gz: 4908d952cca6d1a16d1def2999bf5b91c935f01a0442613ed86096b80c735ac6
3
+ metadata.gz: 25d0023678f9b7d46b6a339e530132a7fd690d6d6d425263695587ebb675d649
4
+ data.tar.gz: 190eada6690380a3ce4c3ab4cb3f398ded192c7b62e8c559489376a973988672
5
5
  SHA512:
6
- metadata.gz: 417f6b62712f96d073b0bdefd497e212c50d8d688e71b0fc84bf4254e4ffc76be3f4c943a595fc0c426c4e2437b8d2991913253ebc134d655d143509a551198d
7
- data.tar.gz: d31686108f27f6a334b6edc190f8f724065dc77d985f19f097510c5c9e9b62beb5d782e222e0e225090e89c8ed9c3bcd18c90becde6c9cd2018be2307d970f3d
6
+ metadata.gz: 93e6cddf52bfb4ec9a3f1119d91c6314ba5a2823b1e73e63772ed74d9ef1f45aee8c5363c7e62b125b6a49fe37e0053ebaf21841fa268581734aea736ecaeeda
7
+ data.tar.gz: cccb88b22eace2a687e8c16c5b6bfb47046f32f49b50a886a576cfa28948b2f862e95898e272a1e698a67f6e870fef239a4f4c899851347fe5039e1c5be0edd9
@@ -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.18.0-beta.2
9
+ * @version 2.18.0-beta.3
10
10
  */
11
11
 
12
12
  /*global process */
@@ -4742,8 +4742,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
4742
4742
  ```
4743
4743
 
4744
4744
  @method volatile
4745
- @static
4746
- @for @ember/object/computed
4747
4745
  @return {ComputedProperty} this
4748
4746
  @chainable
4749
4747
  @public
@@ -4772,8 +4770,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
4772
4770
  ```
4773
4771
 
4774
4772
  @method readOnly
4775
- @static
4776
- @for @ember/object/computed
4777
4773
  @return {ComputedProperty} this
4778
4774
  @chainable
4779
4775
  @public
@@ -4810,8 +4806,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
4810
4806
  ```
4811
4807
 
4812
4808
  @method property
4813
- @static
4814
- @for @ember/object/computed
4815
4809
  @param {String} path* zero or more property paths
4816
4810
  @return {ComputedProperty} this
4817
4811
  @chainable
@@ -4858,8 +4852,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
4858
4852
  via the `metaForProperty()` function.
4859
4853
 
4860
4854
  @method meta
4861
- @static
4862
- @for @ember/object/computed
4863
4855
  @param {Object} meta
4864
4856
  @chainable
4865
4857
  @public
@@ -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.18.0-beta.2
9
+ * @version 2.18.0-beta.3
10
10
  */
11
11
 
12
12
  /*global process */
@@ -10986,8 +10986,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
10986
10986
  ```
10987
10987
 
10988
10988
  @method volatile
10989
- @static
10990
- @for @ember/object/computed
10991
10989
  @return {ComputedProperty} this
10992
10990
  @chainable
10993
10991
  @public
@@ -11016,8 +11014,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
11016
11014
  ```
11017
11015
 
11018
11016
  @method readOnly
11019
- @static
11020
- @for @ember/object/computed
11021
11017
  @return {ComputedProperty} this
11022
11018
  @chainable
11023
11019
  @public
@@ -11054,8 +11050,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
11054
11050
  ```
11055
11051
 
11056
11052
  @method property
11057
- @static
11058
- @for @ember/object/computed
11059
11053
  @param {String} path* zero or more property paths
11060
11054
  @return {ComputedProperty} this
11061
11055
  @chainable
@@ -11103,8 +11097,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
11103
11097
  via the `metaForProperty()` function.
11104
11098
 
11105
11099
  @method meta
11106
- @static
11107
- @for @ember/object/computed
11108
11100
  @param {Object} meta
11109
11101
  @chainable
11110
11102
  @public
@@ -17320,7 +17312,7 @@ enifed('ember/features', ['exports', 'ember-environment', 'ember-utils'], functi
17320
17312
  enifed("ember/version", ["exports"], function (exports) {
17321
17313
  "use strict";
17322
17314
 
17323
- exports.default = "2.18.0-beta.2";
17315
+ exports.default = "2.18.0-beta.3";
17324
17316
  });
17325
17317
  enifed("handlebars", ["exports"], function (exports) {
17326
17318
  "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.18.0-beta.2
9
+ * @version 2.18.0-beta.3
10
10
  */
11
11
 
12
12
  /*global process */
@@ -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.18.0-beta.2
9
+ * @version 2.18.0-beta.3
10
10
  */
11
11
 
12
12
  /*global process */
@@ -11349,9 +11349,41 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11349
11349
  }, /classNameBindings must not have spaces in them/i);
11350
11350
  };
11351
11351
 
11352
- _class.prototype['@test it can set class name bindings in the constructor'] = function testItCanSetClassNameBindingsInTheConstructor() {
11352
+ _class.prototype['@test it asserts that items must be strings'] = function testItAssertsThatItemsMustBeStrings() {
11353
11353
  var _this11 = this;
11354
11354
 
11355
+ var FooBarComponent = _helpers.Component.extend({
11356
+ foo: 'foo',
11357
+ bar: 'bar',
11358
+ classNameBindings: ['foo',, 'bar'] // eslint-disable-line no-sparse-arrays
11359
+ });
11360
+
11361
+ this.registerComponent('foo-bar', { ComponentClass: FooBarComponent, template: 'hello' });
11362
+
11363
+ expectAssertion(function () {
11364
+ _this11.render('{{foo-bar}}');
11365
+ }, /classNameBindings must be non-empty strings/);
11366
+ };
11367
+
11368
+ _class.prototype['@test it asserts that items must be non-empty strings'] = function testItAssertsThatItemsMustBeNonEmptyStrings() {
11369
+ var _this12 = this;
11370
+
11371
+ var FooBarComponent = _helpers.Component.extend({
11372
+ foo: 'foo',
11373
+ bar: 'bar',
11374
+ classNameBindings: ['foo', '', 'bar']
11375
+ });
11376
+
11377
+ this.registerComponent('foo-bar', { ComponentClass: FooBarComponent, template: 'hello' });
11378
+
11379
+ expectAssertion(function () {
11380
+ _this12.render('{{foo-bar}}');
11381
+ }, /classNameBindings must be non-empty strings/);
11382
+ };
11383
+
11384
+ _class.prototype['@test it can set class name bindings in the constructor'] = function testItCanSetClassNameBindingsInTheConstructor() {
11385
+ var _this13 = this;
11386
+
11355
11387
  var FooBarComponent = _helpers.Component.extend({
11356
11388
  classNameBindings: ['foo'],
11357
11389
 
@@ -11380,7 +11412,7 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11380
11412
  this.assertComponentElement(this.nthChild(3), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view foo') }, content: 'hello' });
11381
11413
 
11382
11414
  this.runTask(function () {
11383
- return _this11.rerender();
11415
+ return _this13.rerender();
11384
11416
  });
11385
11417
 
11386
11418
  this.assertComponentElement(this.nthChild(0), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view foo enabled') }, content: 'hello' });
@@ -11389,8 +11421,8 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11389
11421
  this.assertComponentElement(this.nthChild(3), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view foo') }, content: 'hello' });
11390
11422
 
11391
11423
  this.runTask(function () {
11392
- (0, _emberMetal.set)(_this11.context, 'foo', 'FOO');
11393
- (0, _emberMetal.set)(_this11.context, 'isEnabled', false);
11424
+ (0, _emberMetal.set)(_this13.context, 'foo', 'FOO');
11425
+ (0, _emberMetal.set)(_this13.context, 'isEnabled', false);
11394
11426
  });
11395
11427
 
11396
11428
  this.assertComponentElement(this.nthChild(0), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view FOO') }, content: 'hello' });
@@ -11399,8 +11431,8 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11399
11431
  this.assertComponentElement(this.nthChild(3), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view FOO') }, content: 'hello' });
11400
11432
 
11401
11433
  this.runTask(function () {
11402
- (0, _emberMetal.set)(_this11.context, 'foo', undefined);
11403
- (0, _emberMetal.set)(_this11.context, 'isHappy', true);
11434
+ (0, _emberMetal.set)(_this13.context, 'foo', undefined);
11435
+ (0, _emberMetal.set)(_this13.context, 'isHappy', true);
11404
11436
  });
11405
11437
 
11406
11438
  this.assertComponentElement(this.nthChild(0), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view') }, content: 'hello' });
@@ -11409,9 +11441,9 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11409
11441
  this.assertComponentElement(this.nthChild(3), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view') }, content: 'hello' });
11410
11442
 
11411
11443
  this.runTask(function () {
11412
- (0, _emberMetal.set)(_this11.context, 'foo', 'foo');
11413
- (0, _emberMetal.set)(_this11.context, 'isEnabled', true);
11414
- (0, _emberMetal.set)(_this11.context, 'isHappy', false);
11444
+ (0, _emberMetal.set)(_this13.context, 'foo', 'foo');
11445
+ (0, _emberMetal.set)(_this13.context, 'isEnabled', true);
11446
+ (0, _emberMetal.set)(_this13.context, 'isHappy', false);
11415
11447
  });
11416
11448
 
11417
11449
  this.assertComponentElement(this.nthChild(0), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view foo enabled') }, content: 'hello' });
@@ -11421,7 +11453,7 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11421
11453
  };
11422
11454
 
11423
11455
  _class.prototype['@test using a computed property for classNameBindings triggers an assertion'] = function testUsingAComputedPropertyForClassNameBindingsTriggersAnAssertion() {
11424
- var _this12 = this;
11456
+ var _this14 = this;
11425
11457
 
11426
11458
  var FooBarComponent = _helpers.Component.extend({
11427
11459
  classNameBindings: (0, _emberMetal.computed)(function () {
@@ -11432,7 +11464,7 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11432
11464
  this.registerComponent('foo-bar', { ComponentClass: FooBarComponent, template: 'hello' });
11433
11465
 
11434
11466
  expectAssertion(function () {
11435
- _this12.render('{{foo-bar}}');
11467
+ _this14.render('{{foo-bar}}');
11436
11468
  }, /Only arrays are allowed/);
11437
11469
  };
11438
11470
 
@@ -11448,7 +11480,7 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11448
11480
  }
11449
11481
 
11450
11482
  _class2.prototype['@test it should apply classBinding without condition always'] = function testItShouldApplyClassBindingWithoutConditionAlways() {
11451
- var _this14 = this;
11483
+ var _this16 = this;
11452
11484
 
11453
11485
  this.registerComponent('foo-bar', { template: 'hello' });
11454
11486
 
@@ -11457,14 +11489,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11457
11489
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('foo ember-view') } });
11458
11490
 
11459
11491
  this.runTask(function () {
11460
- return _this14.rerender();
11492
+ return _this16.rerender();
11461
11493
  });
11462
11494
 
11463
11495
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('foo ember-view') } });
11464
11496
  };
11465
11497
 
11466
11498
  _class2.prototype['@test it should merge classBinding with class'] = function testItShouldMergeClassBindingWithClass() {
11467
- var _this15 = this;
11499
+ var _this17 = this;
11468
11500
 
11469
11501
  this.registerComponent('foo-bar', { template: 'hello' });
11470
11502
 
@@ -11473,14 +11505,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11473
11505
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('respeck myName ember-view') } });
11474
11506
 
11475
11507
  this.runTask(function () {
11476
- return _this15.rerender();
11508
+ return _this17.rerender();
11477
11509
  });
11478
11510
 
11479
11511
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('respeck myName ember-view') } });
11480
11512
  };
11481
11513
 
11482
11514
  _class2.prototype['@test it should apply classBinding with only truthy condition'] = function testItShouldApplyClassBindingWithOnlyTruthyCondition() {
11483
- var _this16 = this;
11515
+ var _this18 = this;
11484
11516
 
11485
11517
  this.registerComponent('foo-bar', { template: 'hello' });
11486
11518
 
@@ -11489,14 +11521,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11489
11521
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('respeck ember-view') } });
11490
11522
 
11491
11523
  this.runTask(function () {
11492
- return _this16.rerender();
11524
+ return _this18.rerender();
11493
11525
  });
11494
11526
 
11495
11527
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('respeck ember-view') } });
11496
11528
  };
11497
11529
 
11498
11530
  _class2.prototype['@test it should apply classBinding with only falsy condition'] = function testItShouldApplyClassBindingWithOnlyFalsyCondition() {
11499
- var _this17 = this;
11531
+ var _this19 = this;
11500
11532
 
11501
11533
  this.registerComponent('foo-bar', { template: 'hello' });
11502
11534
 
@@ -11505,14 +11537,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11505
11537
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('shade ember-view') } });
11506
11538
 
11507
11539
  this.runTask(function () {
11508
- return _this17.rerender();
11540
+ return _this19.rerender();
11509
11541
  });
11510
11542
 
11511
11543
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('shade ember-view') } });
11512
11544
  };
11513
11545
 
11514
11546
  _class2.prototype['@test it should apply nothing when classBinding is falsy but only supplies truthy class'] = function testItShouldApplyNothingWhenClassBindingIsFalsyButOnlySuppliesTruthyClass() {
11515
- var _this18 = this;
11547
+ var _this20 = this;
11516
11548
 
11517
11549
  this.registerComponent('foo-bar', { template: 'hello' });
11518
11550
 
@@ -11521,14 +11553,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11521
11553
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('ember-view') } });
11522
11554
 
11523
11555
  this.runTask(function () {
11524
- return _this18.rerender();
11556
+ return _this20.rerender();
11525
11557
  });
11526
11558
 
11527
11559
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('ember-view') } });
11528
11560
  };
11529
11561
 
11530
11562
  _class2.prototype['@test it should apply nothing when classBinding is truthy but only supplies falsy class'] = function testItShouldApplyNothingWhenClassBindingIsTruthyButOnlySuppliesFalsyClass() {
11531
- var _this19 = this;
11563
+ var _this21 = this;
11532
11564
 
11533
11565
  this.registerComponent('foo-bar', { template: 'hello' });
11534
11566
 
@@ -11537,14 +11569,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11537
11569
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('ember-view') } });
11538
11570
 
11539
11571
  this.runTask(function () {
11540
- return _this19.rerender();
11572
+ return _this21.rerender();
11541
11573
  });
11542
11574
 
11543
11575
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('ember-view') } });
11544
11576
  };
11545
11577
 
11546
11578
  _class2.prototype['@test it should apply classBinding with falsy condition'] = function testItShouldApplyClassBindingWithFalsyCondition() {
11547
- var _this20 = this;
11579
+ var _this22 = this;
11548
11580
 
11549
11581
  this.registerComponent('foo-bar', { template: 'hello' });
11550
11582
 
@@ -11553,14 +11585,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11553
11585
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('scrub ember-view') } });
11554
11586
 
11555
11587
  this.runTask(function () {
11556
- return _this20.rerender();
11588
+ return _this22.rerender();
11557
11589
  });
11558
11590
 
11559
11591
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('scrub ember-view') } });
11560
11592
  };
11561
11593
 
11562
11594
  _class2.prototype['@test it should apply classBinding with truthy condition'] = function testItShouldApplyClassBindingWithTruthyCondition() {
11563
- var _this21 = this;
11595
+ var _this23 = this;
11564
11596
 
11565
11597
  this.registerComponent('foo-bar', { template: 'hello' });
11566
11598
 
@@ -11569,7 +11601,7 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
11569
11601
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('fresh ember-view') } });
11570
11602
 
11571
11603
  this.runTask(function () {
11572
- return _this21.rerender();
11604
+ return _this23.rerender();
11573
11605
  });
11574
11606
 
11575
11607
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('fresh ember-view') } });
@@ -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.18.0-beta.2
9
+ * @version 2.18.0-beta.3
10
10
  */
11
11
 
12
12
  /*global process */
@@ -10666,9 +10666,41 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10666
10666
  }, /classNameBindings must not have spaces in them/i);
10667
10667
  };
10668
10668
 
10669
- _class.prototype['@test it can set class name bindings in the constructor'] = function () {
10669
+ _class.prototype['@test it asserts that items must be strings'] = function () {
10670
10670
  var _this11 = this;
10671
10671
 
10672
+ var FooBarComponent = _helpers.Component.extend({
10673
+ foo: 'foo',
10674
+ bar: 'bar',
10675
+ classNameBindings: ['foo',, 'bar'] // eslint-disable-line no-sparse-arrays
10676
+ });
10677
+
10678
+ this.registerComponent('foo-bar', { ComponentClass: FooBarComponent, template: 'hello' });
10679
+
10680
+ expectAssertion(function () {
10681
+ _this11.render('{{foo-bar}}');
10682
+ }, /classNameBindings must be non-empty strings/);
10683
+ };
10684
+
10685
+ _class.prototype['@test it asserts that items must be non-empty strings'] = function () {
10686
+ var _this12 = this;
10687
+
10688
+ var FooBarComponent = _helpers.Component.extend({
10689
+ foo: 'foo',
10690
+ bar: 'bar',
10691
+ classNameBindings: ['foo', '', 'bar']
10692
+ });
10693
+
10694
+ this.registerComponent('foo-bar', { ComponentClass: FooBarComponent, template: 'hello' });
10695
+
10696
+ expectAssertion(function () {
10697
+ _this12.render('{{foo-bar}}');
10698
+ }, /classNameBindings must be non-empty strings/);
10699
+ };
10700
+
10701
+ _class.prototype['@test it can set class name bindings in the constructor'] = function () {
10702
+ var _this13 = this;
10703
+
10672
10704
  var FooBarComponent = _helpers.Component.extend({
10673
10705
  classNameBindings: ['foo'],
10674
10706
 
@@ -10697,7 +10729,7 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10697
10729
  this.assertComponentElement(this.nthChild(3), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view foo') }, content: 'hello' });
10698
10730
 
10699
10731
  this.runTask(function () {
10700
- return _this11.rerender();
10732
+ return _this13.rerender();
10701
10733
  });
10702
10734
 
10703
10735
  this.assertComponentElement(this.nthChild(0), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view foo enabled') }, content: 'hello' });
@@ -10706,8 +10738,8 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10706
10738
  this.assertComponentElement(this.nthChild(3), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view foo') }, content: 'hello' });
10707
10739
 
10708
10740
  this.runTask(function () {
10709
- (0, _emberMetal.set)(_this11.context, 'foo', 'FOO');
10710
- (0, _emberMetal.set)(_this11.context, 'isEnabled', false);
10741
+ (0, _emberMetal.set)(_this13.context, 'foo', 'FOO');
10742
+ (0, _emberMetal.set)(_this13.context, 'isEnabled', false);
10711
10743
  });
10712
10744
 
10713
10745
  this.assertComponentElement(this.nthChild(0), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view FOO') }, content: 'hello' });
@@ -10716,8 +10748,8 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10716
10748
  this.assertComponentElement(this.nthChild(3), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view FOO') }, content: 'hello' });
10717
10749
 
10718
10750
  this.runTask(function () {
10719
- (0, _emberMetal.set)(_this11.context, 'foo', undefined);
10720
- (0, _emberMetal.set)(_this11.context, 'isHappy', true);
10751
+ (0, _emberMetal.set)(_this13.context, 'foo', undefined);
10752
+ (0, _emberMetal.set)(_this13.context, 'isHappy', true);
10721
10753
  });
10722
10754
 
10723
10755
  this.assertComponentElement(this.nthChild(0), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view') }, content: 'hello' });
@@ -10726,9 +10758,9 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10726
10758
  this.assertComponentElement(this.nthChild(3), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view') }, content: 'hello' });
10727
10759
 
10728
10760
  this.runTask(function () {
10729
- (0, _emberMetal.set)(_this11.context, 'foo', 'foo');
10730
- (0, _emberMetal.set)(_this11.context, 'isEnabled', true);
10731
- (0, _emberMetal.set)(_this11.context, 'isHappy', false);
10761
+ (0, _emberMetal.set)(_this13.context, 'foo', 'foo');
10762
+ (0, _emberMetal.set)(_this13.context, 'isEnabled', true);
10763
+ (0, _emberMetal.set)(_this13.context, 'isHappy', false);
10732
10764
  });
10733
10765
 
10734
10766
  this.assertComponentElement(this.nthChild(0), { tagName: 'div', attrs: { 'class': (0, _testHelpers.classes)('ember-view foo enabled') }, content: 'hello' });
@@ -10738,7 +10770,7 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10738
10770
  };
10739
10771
 
10740
10772
  _class.prototype['@test using a computed property for classNameBindings triggers an assertion'] = function () {
10741
- var _this12 = this;
10773
+ var _this14 = this;
10742
10774
 
10743
10775
  var FooBarComponent = _helpers.Component.extend({
10744
10776
  classNameBindings: (0, _emberMetal.computed)(function () {
@@ -10749,7 +10781,7 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10749
10781
  this.registerComponent('foo-bar', { ComponentClass: FooBarComponent, template: 'hello' });
10750
10782
 
10751
10783
  expectAssertion(function () {
10752
- _this12.render('{{foo-bar}}');
10784
+ _this14.render('{{foo-bar}}');
10753
10785
  }, /Only arrays are allowed/);
10754
10786
  };
10755
10787
 
@@ -10764,7 +10796,7 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10764
10796
  }
10765
10797
 
10766
10798
  _class2.prototype['@test it should apply classBinding without condition always'] = function () {
10767
- var _this14 = this;
10799
+ var _this16 = this;
10768
10800
 
10769
10801
  this.registerComponent('foo-bar', { template: 'hello' });
10770
10802
 
@@ -10773,14 +10805,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10773
10805
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('foo ember-view') } });
10774
10806
 
10775
10807
  this.runTask(function () {
10776
- return _this14.rerender();
10808
+ return _this16.rerender();
10777
10809
  });
10778
10810
 
10779
10811
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('foo ember-view') } });
10780
10812
  };
10781
10813
 
10782
10814
  _class2.prototype['@test it should merge classBinding with class'] = function () {
10783
- var _this15 = this;
10815
+ var _this17 = this;
10784
10816
 
10785
10817
  this.registerComponent('foo-bar', { template: 'hello' });
10786
10818
 
@@ -10789,14 +10821,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10789
10821
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('respeck myName ember-view') } });
10790
10822
 
10791
10823
  this.runTask(function () {
10792
- return _this15.rerender();
10824
+ return _this17.rerender();
10793
10825
  });
10794
10826
 
10795
10827
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('respeck myName ember-view') } });
10796
10828
  };
10797
10829
 
10798
10830
  _class2.prototype['@test it should apply classBinding with only truthy condition'] = function () {
10799
- var _this16 = this;
10831
+ var _this18 = this;
10800
10832
 
10801
10833
  this.registerComponent('foo-bar', { template: 'hello' });
10802
10834
 
@@ -10805,14 +10837,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10805
10837
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('respeck ember-view') } });
10806
10838
 
10807
10839
  this.runTask(function () {
10808
- return _this16.rerender();
10840
+ return _this18.rerender();
10809
10841
  });
10810
10842
 
10811
10843
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('respeck ember-view') } });
10812
10844
  };
10813
10845
 
10814
10846
  _class2.prototype['@test it should apply classBinding with only falsy condition'] = function () {
10815
- var _this17 = this;
10847
+ var _this19 = this;
10816
10848
 
10817
10849
  this.registerComponent('foo-bar', { template: 'hello' });
10818
10850
 
@@ -10821,14 +10853,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10821
10853
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('shade ember-view') } });
10822
10854
 
10823
10855
  this.runTask(function () {
10824
- return _this17.rerender();
10856
+ return _this19.rerender();
10825
10857
  });
10826
10858
 
10827
10859
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('shade ember-view') } });
10828
10860
  };
10829
10861
 
10830
10862
  _class2.prototype['@test it should apply nothing when classBinding is falsy but only supplies truthy class'] = function () {
10831
- var _this18 = this;
10863
+ var _this20 = this;
10832
10864
 
10833
10865
  this.registerComponent('foo-bar', { template: 'hello' });
10834
10866
 
@@ -10837,14 +10869,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10837
10869
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('ember-view') } });
10838
10870
 
10839
10871
  this.runTask(function () {
10840
- return _this18.rerender();
10872
+ return _this20.rerender();
10841
10873
  });
10842
10874
 
10843
10875
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('ember-view') } });
10844
10876
  };
10845
10877
 
10846
10878
  _class2.prototype['@test it should apply nothing when classBinding is truthy but only supplies falsy class'] = function () {
10847
- var _this19 = this;
10879
+ var _this21 = this;
10848
10880
 
10849
10881
  this.registerComponent('foo-bar', { template: 'hello' });
10850
10882
 
@@ -10853,14 +10885,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10853
10885
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('ember-view') } });
10854
10886
 
10855
10887
  this.runTask(function () {
10856
- return _this19.rerender();
10888
+ return _this21.rerender();
10857
10889
  });
10858
10890
 
10859
10891
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('ember-view') } });
10860
10892
  };
10861
10893
 
10862
10894
  _class2.prototype['@test it should apply classBinding with falsy condition'] = function () {
10863
- var _this20 = this;
10895
+ var _this22 = this;
10864
10896
 
10865
10897
  this.registerComponent('foo-bar', { template: 'hello' });
10866
10898
 
@@ -10869,14 +10901,14 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10869
10901
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('scrub ember-view') } });
10870
10902
 
10871
10903
  this.runTask(function () {
10872
- return _this20.rerender();
10904
+ return _this22.rerender();
10873
10905
  });
10874
10906
 
10875
10907
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('scrub ember-view') } });
10876
10908
  };
10877
10909
 
10878
10910
  _class2.prototype['@test it should apply classBinding with truthy condition'] = function () {
10879
- var _this21 = this;
10911
+ var _this23 = this;
10880
10912
 
10881
10913
  this.registerComponent('foo-bar', { template: 'hello' });
10882
10914
 
@@ -10885,7 +10917,7 @@ enifed('ember-glimmer/tests/integration/components/class-bindings-test', ['ember
10885
10917
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('fresh ember-view') } });
10886
10918
 
10887
10919
  this.runTask(function () {
10888
- return _this21.rerender();
10920
+ return _this23.rerender();
10889
10921
  });
10890
10922
 
10891
10923
  this.assertComponentElement(this.firstChild, { tagName: 'div', content: 'hello', attrs: { 'class': (0, _testHelpers.classes)('fresh ember-view') } });
@@ -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.18.0-beta.2
9
+ * @version 2.18.0-beta.3
10
10
  */
11
11
 
12
12
  /*global process */
@@ -15209,6 +15209,24 @@ enifed('ember-glimmer/component-managers/curly', ['exports', 'ember-babel', '@gl
15209
15209
  }
15210
15210
  }
15211
15211
  function processComponentInitializationAssertions(component, props) {
15212
+ (true && !(function () {
15213
+ var classNameBindings = component.classNameBindings;
15214
+
15215
+ for (var i = 0; i < classNameBindings.length; i++) {
15216
+ var binding = classNameBindings[i];
15217
+ if (typeof binding !== 'string' || binding.length === 0) {
15218
+ return false;
15219
+ }
15220
+ }
15221
+ return true;
15222
+ }()) && (0, _emberDebug.assert)('classNameBindings must be non-empty strings: ' + component, function () {
15223
+ var classNameBindings = component.classNameBindings;
15224
+ for (var i = 0; i < classNameBindings.length; i++) {
15225
+ var binding = classNameBindings[i];if (typeof binding !== 'string' || binding.length === 0) {
15226
+ return false;
15227
+ }
15228
+ }return true;
15229
+ }()));
15212
15230
  (true && !(function () {
15213
15231
  var classNameBindings = component.classNameBindings;
15214
15232
 
@@ -15219,7 +15237,7 @@ enifed('ember-glimmer/component-managers/curly', ['exports', 'ember-babel', '@gl
15219
15237
  }
15220
15238
  }
15221
15239
  return true;
15222
- }()) && (0, _emberDebug.assert)('classNameBindings must not have spaces in them: ' + component.toString(), function () {
15240
+ }()) && (0, _emberDebug.assert)('classNameBindings must not have spaces in them: ' + component, function () {
15223
15241
  var classNameBindings = component.classNameBindings;
15224
15242
  for (var i = 0; i < classNameBindings.length; i++) {
15225
15243
  var binding = classNameBindings[i];if (binding.split(' ').length > 1) {
@@ -15227,9 +15245,9 @@ enifed('ember-glimmer/component-managers/curly', ['exports', 'ember-babel', '@gl
15227
15245
  }
15228
15246
  }return true;
15229
15247
  }()));
15230
- (true && !(component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0) && (0, _emberDebug.assert)('You cannot use `classNameBindings` on a tag-less component: ' + component.toString(), component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0));
15231
- (true && !(component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '') && (0, _emberDebug.assert)('You cannot use `elementId` on a tag-less component: ' + component.toString(), component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== ''));
15232
- (true && !(component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0) && (0, _emberDebug.assert)('You cannot use `attributeBindings` on a tag-less component: ' + component.toString(), component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0));
15248
+ (true && !(component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0) && (0, _emberDebug.assert)('You cannot use `classNameBindings` on a tag-less component: ' + component, component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0));
15249
+ (true && !(component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '') && (0, _emberDebug.assert)('You cannot use `elementId` on a tag-less component: ' + component, component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== ''));
15250
+ (true && !(component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0) && (0, _emberDebug.assert)('You cannot use `attributeBindings` on a tag-less component: ' + component, component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0));
15233
15251
  }
15234
15252
  function initialRenderInstrumentDetails(component) {
15235
15253
  return component.instrumentDetails({ initialRender: true });
@@ -25224,8 +25242,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25224
25242
  ```
25225
25243
 
25226
25244
  @method volatile
25227
- @static
25228
- @for @ember/object/computed
25229
25245
  @return {ComputedProperty} this
25230
25246
  @chainable
25231
25247
  @public
@@ -25254,8 +25270,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25254
25270
  ```
25255
25271
 
25256
25272
  @method readOnly
25257
- @static
25258
- @for @ember/object/computed
25259
25273
  @return {ComputedProperty} this
25260
25274
  @chainable
25261
25275
  @public
@@ -25292,8 +25306,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25292
25306
  ```
25293
25307
 
25294
25308
  @method property
25295
- @static
25296
- @for @ember/object/computed
25297
25309
  @param {String} path* zero or more property paths
25298
25310
  @return {ComputedProperty} this
25299
25311
  @chainable
@@ -25340,8 +25352,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25340
25352
  via the `metaForProperty()` function.
25341
25353
 
25342
25354
  @method meta
25343
- @static
25344
- @for @ember/object/computed
25345
25355
  @param {Object} meta
25346
25356
  @chainable
25347
25357
  @public
@@ -46921,9 +46931,9 @@ enifed('ember-views/views/core_view', ['exports', 'ember-runtime', 'ember-views/
46921
46931
 
46922
46932
  @class CoreView
46923
46933
  @namespace Ember
46924
- @extends Ember.Object
46925
- @deprecated Use `Ember.Component` instead.
46926
- @uses Ember.Evented
46934
+ @extends EmberObject
46935
+ @deprecated Use `Component` instead.
46936
+ @uses Evented
46927
46937
  @uses Ember.ActionHandler
46928
46938
  @private
46929
46939
  */
@@ -47691,7 +47701,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'node-module',
47691
47701
  enifed("ember/version", ["exports"], function (exports) {
47692
47702
  "use strict";
47693
47703
 
47694
- exports.default = "2.18.0-beta.2";
47704
+ exports.default = "2.18.0-beta.3";
47695
47705
  });
47696
47706
  enifed("handlebars", ["exports"], function (exports) {
47697
47707
  "use strict";
@@ -2572,7 +2572,7 @@ var b,_=s.computed
2572
2572
  _.alias=s.alias,s["default"].computed=_,s["default"].ComputedProperty=s.ComputedProperty,s["default"].cacheFor=s.cacheFor,s["default"].assert=u.assert,s["default"].warn=u.warn,s["default"].debug=u.debug,s["default"].deprecate=u.deprecate,s["default"].deprecateFunc=u.deprecateFunc,s["default"].runInDebug=u.runInDebug,s["default"].Debug={registerDeprecationHandler:u.registerDeprecationHandler,registerWarnHandler:u.registerWarnHandler},s["default"].merge=s.merge,s["default"].instrument=s.instrument,s["default"].subscribe=s.instrumentationSubscribe,s["default"].Instrumentation={instrument:s.instrument,subscribe:s.instrumentationSubscribe,unsubscribe:s.instrumentationUnsubscribe,reset:s.instrumentationReset},s["default"].Error=u.Error,s["default"].META_DESC=s.META_DESC,s["default"].meta=s.meta,s["default"].get=s.get,s["default"].getWithDefault=s.getWithDefault,s["default"]._getPath=s._getPath,s["default"].set=s.set,s["default"].trySet=s.trySet,s["default"].FEATURES=a.FEATURES,s["default"].FEATURES.isEnabled=u.isFeatureEnabled,s["default"]._Cache=s.Cache,s["default"].on=s.on,s["default"].addListener=s.addListener,s["default"].removeListener=s.removeListener,s["default"]._suspendListener=s.suspendListener,s["default"]._suspendListeners=s.suspendListeners,s["default"].sendEvent=s.sendEvent,s["default"].hasListeners=s.hasListeners,s["default"].watchedEvents=s.watchedEvents,s["default"].listenersFor=s.listenersFor,s["default"].isNone=s.isNone,s["default"].isEmpty=s.isEmpty,s["default"].isBlank=s.isBlank,s["default"].isPresent=s.isPresent,s["default"].run=s.run,s["default"]._ObserverSet=s.ObserverSet,s["default"].propertyWillChange=s.propertyWillChange,s["default"].propertyDidChange=s.propertyDidChange,s["default"].overrideChains=s.overrideChains,s["default"].beginPropertyChanges=s.beginPropertyChanges,s["default"].endPropertyChanges=s.endPropertyChanges,s["default"].changeProperties=s.changeProperties,s["default"].platform={defineProperty:!0,hasPropertyAccessors:!0},s["default"].defineProperty=s.defineProperty,s["default"].watchKey=s.watchKey,s["default"].unwatchKey=s.unwatchKey,s["default"].removeChainWatcher=s.removeChainWatcher,s["default"]._ChainNode=s.ChainNode,s["default"].finishChains=s.finishChains,s["default"].watchPath=s.watchPath,s["default"].unwatchPath=s.unwatchPath,s["default"].watch=s.watch,s["default"].isWatching=s.isWatching,s["default"].unwatch=s.unwatch,s["default"].destroy=s.deleteMeta,s["default"].libraries=s.libraries,s["default"].OrderedSet=s.OrderedSet,s["default"].Map=s.Map,s["default"].MapWithDefault=s.MapWithDefault,s["default"].getProperties=s.getProperties,s["default"].setProperties=s.setProperties,s["default"].expandProperties=s.expandProperties,s["default"].NAME_KEY=i.NAME_KEY,s["default"].addObserver=s.addObserver,s["default"].observersFor=s.observersFor,s["default"].removeObserver=s.removeObserver,s["default"]._suspendObserver=s._suspendObserver,s["default"]._suspendObservers=s._suspendObservers,s["default"].required=s.required,s["default"].aliasMethod=s.aliasMethod,s["default"].observer=s.observer,s["default"].immediateObserver=s._immediateObserver,s["default"].mixin=s.mixin,s["default"].Mixin=s.Mixin,s["default"].bind=s.bind,s["default"].Binding=s.Binding,s["default"].isGlobalPath=s.isGlobalPath,Object.defineProperty(s["default"],"ENV",{get:function(){return n.ENV},enumerable:!1}),Object.defineProperty(s["default"],"lookup",{get:function(){return n.context.lookup},set:function(e){n.context.lookup=e},enumerable:!1}),s["default"].EXTEND_PROTOTYPES=n.ENV.EXTEND_PROTOTYPES,Object.defineProperty(s["default"],"LOG_STACKTRACE_ON_DEPRECATION",{get:function(){return n.ENV.LOG_STACKTRACE_ON_DEPRECATION},set:function(e){n.ENV.LOG_STACKTRACE_ON_DEPRECATION=!!e},enumerable:!1}),Object.defineProperty(s["default"],"LOG_VERSION",{get:function(){return n.ENV.LOG_VERSION},set:function(e){n.ENV.LOG_VERSION=!!e},enumerable:!1}),Object.defineProperty(s["default"],"LOG_BINDINGS",{get:function(){return n.ENV.LOG_BINDINGS},set:function(e){n.ENV.LOG_BINDINGS=!!e},enumerable:!1}),Object.defineProperty(s["default"],"onerror",{get:s.getOnerror,set:s.setOnerror,enumerable:!1}),Object.defineProperty(s["default"],"K",{get:function(){return v}}),Object.defineProperty(s["default"],"testing",{get:u.isTesting,set:u.setTesting,enumerable:!1}),s["default"]._Backburner=c["default"],s["default"].Logger=l["default"],s["default"].String=p.String,s["default"].Object=p.Object,s["default"]._RegistryProxyMixin=p.RegistryProxyMixin,s["default"]._ContainerProxyMixin=p.ContainerProxyMixin,s["default"].compare=p.compare,s["default"].copy=p.copy,s["default"].isEqual=p.isEqual,s["default"].inject=p.inject,s["default"].Array=p.Array,s["default"].Comparable=p.Comparable,s["default"].Enumerable=p.Enumerable,s["default"].ArrayProxy=p.ArrayProxy,s["default"].ObjectProxy=p.ObjectProxy,s["default"].ActionHandler=p.ActionHandler,s["default"].CoreObject=p.CoreObject,s["default"].NativeArray=p.NativeArray,s["default"].Copyable=p.Copyable,s["default"].Freezable=p.Freezable,s["default"].FROZEN_ERROR=p.FROZEN_ERROR,s["default"].MutableEnumerable=p.MutableEnumerable,s["default"].MutableArray=p.MutableArray,s["default"].TargetActionSupport=p.TargetActionSupport,s["default"].Evented=p.Evented,s["default"].PromiseProxyMixin=p.PromiseProxyMixin,s["default"].Observable=p.Observable,s["default"].typeOf=p.typeOf,s["default"].isArray=p.isArray,s["default"].Object=p.Object,s["default"].onLoad=p.onLoad,s["default"].runLoadHooks=p.runLoadHooks,s["default"].Controller=p.Controller,s["default"].ControllerMixin=p.ControllerMixin,s["default"].Service=p.Service,s["default"]._ProxyMixin=p._ProxyMixin,s["default"].RSVP=p.RSVP,s["default"].Namespace=p.Namespace,_.empty=p.empty,_.notEmpty=p.notEmpty,_.none=p.none,_.not=p.not,_.bool=p.bool,_.match=p.match,_.equal=p.equal,_.gt=p.gt,_.gte=p.gte,_.lt=p.lt,_.lte=p.lte,_.oneWay=p.oneWay,_.reads=p.oneWay,_.readOnly=p.readOnly,_.deprecatingAlias=p.deprecatingAlias,_.and=p.and,_.or=p.or,_.any=p.any,_.sum=p.sum,_.min=p.min,_.max=p.max,_.map=p.map,_.sort=p.sort,_.setDiff=p.setDiff,_.mapBy=p.mapBy,_.filter=p.filter,_.filterBy=p.filterBy,_.uniq=p.uniq,_.uniqBy=p.uniqBy,_.union=p.union,_.intersect=p.intersect,_.collect=p.collect,Object.defineProperty(s["default"],"STRINGS",{configurable:!1,get:p.getStrings,set:p.setStrings}),Object.defineProperty(s["default"],"BOOTED",{configurable:!1,enumerable:!1,get:p.isNamespaceSearchDisabled,set:p.setNamespaceSearchDisabled}),s["default"].Component=h.Component,h.Helper.helper=h.helper,s["default"].Helper=h.Helper,s["default"].Checkbox=h.Checkbox,s["default"].TextField=h.TextField,s["default"].TextArea=h.TextArea,s["default"].LinkComponent=h.LinkComponent,n.ENV.EXTEND_PROTOTYPES.String&&(String.prototype.htmlSafe=function(){return(0,h.htmlSafe)(this)})
2573
2573
  var w=s["default"].Handlebars=s["default"].Handlebars||{},O=s["default"].HTMLBars=s["default"].HTMLBars||{},E=w.Utils=w.Utils||{}
2574
2574
  Object.defineProperty(w,"SafeString",{get:h._getSafeString}),O.template=w.template=h.template,E.escapeExpression=h.escapeExpression,p.String.htmlSafe=h.htmlSafe,p.String.isHTMLSafe=h.isHTMLSafe,Object.defineProperty(s["default"],"TEMPLATES",{get:h.getTemplates,set:h.setTemplates,configurable:!1,enumerable:!1}),e.VERSION=f["default"],s["default"].VERSION=f["default"],s.libraries.registerCoreLibrary("Ember",f["default"]),s["default"].$=d.jQuery,s["default"].ViewTargetActionSupport=d.ViewTargetActionSupport,s["default"].ViewUtils={isSimpleClick:d.isSimpleClick,getViewElement:d.getViewElement,getViewBounds:d.getViewBounds,getViewClientRects:d.getViewClientRects,getViewBoundingClientRect:d.getViewBoundingClientRect,getRootViews:d.getRootViews,getChildViews:d.getChildViews},s["default"].TextSupport=d.TextSupport,s["default"].ComponentLookup=d.ComponentLookup,s["default"].EventDispatcher=d.EventDispatcher,s["default"].Location=m.Location,s["default"].AutoLocation=m.AutoLocation,s["default"].HashLocation=m.HashLocation,s["default"].HistoryLocation=m.HistoryLocation,s["default"].NoneLocation=m.NoneLocation,s["default"].controllerFor=m.controllerFor,s["default"].generateControllerFactory=m.generateControllerFactory,s["default"].generateController=m.generateController,s["default"].RouterDSL=m.RouterDSL,s["default"].Router=m.Router,s["default"].Route=m.Route,s["default"].Application=g.Application,s["default"].ApplicationInstance=g.ApplicationInstance,s["default"].Engine=g.Engine,s["default"].EngineInstance=g.EngineInstance,s["default"].DefaultResolver=s["default"].Resolver=g.Resolver,(0,p.runLoadHooks)("Ember.Application",g.Application),s["default"].DataAdapter=y.DataAdapter,s["default"].ContainerDebugAdapter=y.ContainerDebugAdapter,(0,t.has)("ember-template-compiler")&&(0,t["default"])("ember-template-compiler"),(0,t.has)("ember-testing")&&(b=(0,t["default"])("ember-testing"),s["default"].Test=b.Test,s["default"].Test.Adapter=b.Adapter,s["default"].Test.QUnitAdapter=b.QUnitAdapter,s["default"].setupForTesting=b.setupForTesting),(0,p.runLoadHooks)("Ember"),e["default"]=s["default"],r.IS_NODE?r.module.exports=s["default"]:n.context.exports.Ember=n.context.exports.Em=s["default"]}),e("ember/version",["exports"],function(e){"use strict"
2575
- e["default"]="2.18.0-beta.2"}),e("node-module",["exports"],function(e){var t="object"==typeof module&&"function"==typeof module.require
2575
+ e["default"]="2.18.0-beta.3"}),e("node-module",["exports"],function(e){var t="object"==typeof module&&"function"==typeof module.require
2576
2576
  t?(e.require=module.require,e.module=module,e.IS_NODE=t):(e.require=null,e.module=null,e.IS_NODE=t)}),e("route-recognizer",["exports"],function(e){"use strict"
2577
2577
  function t(){var e=g(null)
2578
2578
  return e.__=void 0,delete e.__,e}function n(e,t,r){return function(i,o){var s=e+i
@@ -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.18.0-beta.2
9
+ * @version 2.18.0-beta.3
10
10
  */
11
11
 
12
12
  /*global process */
@@ -14551,6 +14551,30 @@ enifed('ember-glimmer/component-managers/curly', ['exports', 'ember-babel', '@gl
14551
14551
  exports.CurlyComponentDefinition = exports.PositionalArgumentReference = undefined;
14552
14552
  exports.validatePositionalParameters = function () {};
14553
14553
  exports.processComponentInitializationAssertions = function (component, props) {
14554
+ false && !function () {
14555
+ var classNameBindings = component.classNameBindings,
14556
+ i,
14557
+ binding;
14558
+
14559
+ for (i = 0; i < classNameBindings.length; i++) {
14560
+ binding = classNameBindings[i];
14561
+
14562
+ if (typeof binding !== 'string' || binding.length === 0) {
14563
+ return false;
14564
+ }
14565
+ }
14566
+ return true;
14567
+ }() && (0, _emberDebug.assert)('classNameBindings must be non-empty strings: ' + component, function () {
14568
+ var classNameBindings = component.classNameBindings,
14569
+ i,
14570
+ binding;
14571
+ for (i = 0; i < classNameBindings.length; i++) {
14572
+ binding = classNameBindings[i];
14573
+ if (typeof binding !== 'string' || binding.length === 0) {
14574
+ return false;
14575
+ }
14576
+ }return true;
14577
+ }());
14554
14578
  false && !function () {
14555
14579
  var classNameBindings = component.classNameBindings,
14556
14580
  i,
@@ -14564,7 +14588,7 @@ enifed('ember-glimmer/component-managers/curly', ['exports', 'ember-babel', '@gl
14564
14588
  }
14565
14589
  }
14566
14590
  return true;
14567
- }() && (0, _emberDebug.assert)('classNameBindings must not have spaces in them: ' + component.toString(), function () {
14591
+ }() && (0, _emberDebug.assert)('classNameBindings must not have spaces in them: ' + component, function () {
14568
14592
  var classNameBindings = component.classNameBindings,
14569
14593
  i,
14570
14594
  binding;
@@ -14575,9 +14599,9 @@ enifed('ember-glimmer/component-managers/curly', ['exports', 'ember-babel', '@gl
14575
14599
  }
14576
14600
  }return true;
14577
14601
  }());
14578
- false && !(component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0) && (0, _emberDebug.assert)('You cannot use `classNameBindings` on a tag-less component: ' + component.toString(), component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0);
14579
- false && !(component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '') && (0, _emberDebug.assert)('You cannot use `elementId` on a tag-less component: ' + component.toString(), component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '');
14580
- false && !(component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0) && (0, _emberDebug.assert)('You cannot use `attributeBindings` on a tag-less component: ' + component.toString(), component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0);
14602
+ false && !(component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0) && (0, _emberDebug.assert)('You cannot use `classNameBindings` on a tag-less component: ' + component, component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0);
14603
+ false && !(component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '') && (0, _emberDebug.assert)('You cannot use `elementId` on a tag-less component: ' + component, component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '');
14604
+ false && !(component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0) && (0, _emberDebug.assert)('You cannot use `attributeBindings` on a tag-less component: ' + component, component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0);
14581
14605
  };
14582
14606
  exports.initialRenderInstrumentDetails = initialRenderInstrumentDetails;
14583
14607
  exports.rerenderInstrumentDetails = rerenderInstrumentDetails;
@@ -24208,8 +24232,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24208
24232
  ```
24209
24233
 
24210
24234
  @method volatile
24211
- @static
24212
- @for @ember/object/computed
24213
24235
  @return {ComputedProperty} this
24214
24236
  @chainable
24215
24237
  @public
@@ -24238,8 +24260,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24238
24260
  ```
24239
24261
 
24240
24262
  @method readOnly
24241
- @static
24242
- @for @ember/object/computed
24243
24263
  @return {ComputedProperty} this
24244
24264
  @chainable
24245
24265
  @public
@@ -24276,8 +24296,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24276
24296
  ```
24277
24297
 
24278
24298
  @method property
24279
- @static
24280
- @for @ember/object/computed
24281
24299
  @param {String} path* zero or more property paths
24282
24300
  @return {ComputedProperty} this
24283
24301
  @chainable
@@ -24325,8 +24343,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24325
24343
  via the `metaForProperty()` function.
24326
24344
 
24327
24345
  @method meta
24328
- @static
24329
- @for @ember/object/computed
24330
24346
  @param {Object} meta
24331
24347
  @chainable
24332
24348
  @public
@@ -43083,9 +43099,9 @@ enifed('ember-views/views/core_view', ['exports', 'ember-runtime', 'ember-views/
43083
43099
 
43084
43100
  @class CoreView
43085
43101
  @namespace Ember
43086
- @extends Ember.Object
43087
- @deprecated Use `Ember.Component` instead.
43088
- @uses Ember.Evented
43102
+ @extends EmberObject
43103
+ @deprecated Use `Component` instead.
43104
+ @uses Evented
43089
43105
  @uses Ember.ActionHandler
43090
43106
  @private
43091
43107
  */
@@ -43826,7 +43842,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'node-module',
43826
43842
  enifed("ember/version", ["exports"], function (exports) {
43827
43843
  "use strict";
43828
43844
 
43829
- exports.default = "2.18.0-beta.2";
43845
+ exports.default = "2.18.0-beta.3";
43830
43846
  });
43831
43847
  /*global enifed */
43832
43848
  enifed('node-module', ['exports'], function(_exports) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-source",
3
- "version": "2.18.0-beta.2",
3
+ "version": "2.18.0-beta.3",
4
4
  "description": "A JavaScript framework for creating ambitious web applications",
5
5
  "keywords": [
6
6
  "ember-addon"
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.18.0.beta.2
4
+ version: 2.18.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-04 00:00:00.000000000 Z
11
+ date: 2017-12-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ember.js source code wrapper for use with Ruby libs.
14
14
  email: