ember-source 2.11.0.beta.8 → 2.11.0
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 +3 -3
- data/dist/ember-testing.js +1 -1
- data/dist/ember-tests.js +85 -32
- data/dist/ember-tests.prod.js +85 -32
- data/dist/ember.debug.js +2 -2
- data/dist/ember.js +2 -2
- data/dist/ember.min.js +1 -1
- data/dist/ember.prod.js +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bca2b3e2f37a7cf0d05629a9f48a08a083ab01c3
|
4
|
+
data.tar.gz: 0fa531bded3a40613f8f91407b221fbc8054e31f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b55e4a112cc372543e53c5dfa1b526d2f6b37588dc1a8c35219a485849862d3ce0bd8ca9ceb1387ddd89dc6955b56bfe14b76776c7e6d69af6fab3c1a684a0b
|
7
|
+
data.tar.gz: f8c18d7ad8510f6c41ff3000d5bcaf71fa1163f7cfbb58c755ac5251babd0393a8129b42874e9478f367c884809b43d16af99fe6f7be0304b0f7892e79994210
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.11.0
|
1
|
+
2.11.0
|
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
|
9
|
+
* @version 2.11.0
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -19413,7 +19413,7 @@ enifed("ember/features", ["exports"], function (exports) {
|
|
19413
19413
|
enifed("ember/version", ["exports"], function (exports) {
|
19414
19414
|
"use strict";
|
19415
19415
|
|
19416
|
-
exports.default = "2.11.0
|
19416
|
+
exports.default = "2.11.0";
|
19417
19417
|
});
|
19418
19418
|
enifed('rsvp', ['exports'], function (exports) {
|
19419
19419
|
'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
|
9
|
+
* @version 2.11.0
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -10622,7 +10622,7 @@ enifed('ember-template-compiler/plugins/transform-input-type-syntax', ['exports'
|
|
10622
10622
|
}
|
10623
10623
|
}
|
10624
10624
|
if (pair && pair.value.type !== 'StringLiteral') {
|
10625
|
-
node.params.unshift(builders.sexpr('-input-type', [
|
10625
|
+
node.params.unshift(builders.sexpr('-input-type', [pair.value], null, pair.loc));
|
10626
10626
|
}
|
10627
10627
|
}
|
10628
10628
|
});
|
@@ -12023,7 +12023,7 @@ enifed("ember/features", ["exports"], function (exports) {
|
|
12023
12023
|
enifed("ember/version", ["exports"], function (exports) {
|
12024
12024
|
"use strict";
|
12025
12025
|
|
12026
|
-
exports.default = "2.11.0
|
12026
|
+
exports.default = "2.11.0";
|
12027
12027
|
});
|
12028
12028
|
enifed("glimmer-compiler/index", ["exports", "glimmer-compiler/lib/compiler", "glimmer-compiler/lib/template-visitor"], function (exports, _glimmerCompilerLibCompiler, _glimmerCompilerLibTemplateVisitor) {
|
12029
12029
|
"use strict";
|
data/dist/ember-testing.js
CHANGED
data/dist/ember-tests.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
|
9
|
+
* @version 2.11.0
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -27405,6 +27405,36 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27405
27405
|
this.assertAttr('type', 'password');
|
27406
27406
|
};
|
27407
27407
|
|
27408
|
+
_class2.prototype['@test a subexpression can be used to determine type'] = function testASubexpressionCanBeUsedToDetermineType() {
|
27409
|
+
var _this11 = this;
|
27410
|
+
|
27411
|
+
this.render('{{input type=(if isTruthy trueType falseType)}}', {
|
27412
|
+
isTruthy: true,
|
27413
|
+
trueType: 'text',
|
27414
|
+
falseType: 'password'
|
27415
|
+
});
|
27416
|
+
|
27417
|
+
this.assertAttr('type', 'text');
|
27418
|
+
|
27419
|
+
this.runTask(function () {
|
27420
|
+
return _this11.rerender();
|
27421
|
+
});
|
27422
|
+
|
27423
|
+
this.assertAttr('type', 'text');
|
27424
|
+
|
27425
|
+
this.runTask(function () {
|
27426
|
+
return _emberMetal.set(_this11.context, 'isTruthy', false);
|
27427
|
+
});
|
27428
|
+
|
27429
|
+
this.assertAttr('type', 'password');
|
27430
|
+
|
27431
|
+
this.runTask(function () {
|
27432
|
+
return _emberMetal.set(_this11.context, 'isTruthy', true);
|
27433
|
+
});
|
27434
|
+
|
27435
|
+
this.assertAttr('type', 'text');
|
27436
|
+
};
|
27437
|
+
|
27408
27438
|
return _class2;
|
27409
27439
|
})(InputRenderingTest));
|
27410
27440
|
|
@@ -27418,7 +27448,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27418
27448
|
}
|
27419
27449
|
|
27420
27450
|
_class3.prototype['@test dynamic attributes'] = function testDynamicAttributes() {
|
27421
|
-
var
|
27451
|
+
var _this12 = this;
|
27422
27452
|
|
27423
27453
|
this.render('{{input\n type=\'checkbox\'\n disabled=disabled\n name=name\n checked=checked\n tabindex=tabindex\n }}', {
|
27424
27454
|
disabled: false,
|
@@ -27433,7 +27463,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27433
27463
|
this.assertAttr('tabindex', '10');
|
27434
27464
|
|
27435
27465
|
this.runTask(function () {
|
27436
|
-
return
|
27466
|
+
return _this12.rerender();
|
27437
27467
|
});
|
27438
27468
|
|
27439
27469
|
this.assertSingleCheckbox();
|
@@ -27442,9 +27472,9 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27442
27472
|
this.assertAttr('tabindex', '10');
|
27443
27473
|
|
27444
27474
|
this.runTask(function () {
|
27445
|
-
_emberMetal.set(
|
27446
|
-
_emberMetal.set(
|
27447
|
-
_emberMetal.set(
|
27475
|
+
_emberMetal.set(_this12.context, 'disabled', true);
|
27476
|
+
_emberMetal.set(_this12.context, 'name', 'updated-name');
|
27477
|
+
_emberMetal.set(_this12.context, 'tabindex', 11);
|
27448
27478
|
});
|
27449
27479
|
|
27450
27480
|
this.assertSingleCheckbox();
|
@@ -27453,9 +27483,9 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27453
27483
|
this.assertAttr('tabindex', '11');
|
27454
27484
|
|
27455
27485
|
this.runTask(function () {
|
27456
|
-
_emberMetal.set(
|
27457
|
-
_emberMetal.set(
|
27458
|
-
_emberMetal.set(
|
27486
|
+
_emberMetal.set(_this12.context, 'disabled', false);
|
27487
|
+
_emberMetal.set(_this12.context, 'name', 'original-name');
|
27488
|
+
_emberMetal.set(_this12.context, 'tabindex', 10);
|
27459
27489
|
});
|
27460
27490
|
|
27461
27491
|
this.assertSingleCheckbox();
|
@@ -27465,15 +27495,15 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27465
27495
|
};
|
27466
27496
|
|
27467
27497
|
_class3.prototype['@test `value` property assertion'] = function testValuePropertyAssertion() {
|
27468
|
-
var
|
27498
|
+
var _this13 = this;
|
27469
27499
|
|
27470
27500
|
expectAssertion(function () {
|
27471
|
-
|
27501
|
+
_this13.render('{{input type="checkbox" value=value}}', { value: 'value' });
|
27472
27502
|
}, /you must use `checked=/);
|
27473
27503
|
};
|
27474
27504
|
|
27475
27505
|
_class3.prototype['@test with a bound type'] = function testWithABoundType(assert) {
|
27476
|
-
var
|
27506
|
+
var _this14 = this;
|
27477
27507
|
|
27478
27508
|
this.render('{{input type=inputType checked=isChecked}}', { inputType: 'checkbox', isChecked: true });
|
27479
27509
|
|
@@ -27481,26 +27511,26 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27481
27511
|
this.assertCheckboxIsChecked();
|
27482
27512
|
|
27483
27513
|
this.runTask(function () {
|
27484
|
-
return
|
27514
|
+
return _this14.rerender();
|
27485
27515
|
});
|
27486
27516
|
|
27487
27517
|
this.assertCheckboxIsChecked();
|
27488
27518
|
|
27489
27519
|
this.runTask(function () {
|
27490
|
-
return _emberMetal.set(
|
27520
|
+
return _emberMetal.set(_this14.context, 'isChecked', false);
|
27491
27521
|
});
|
27492
27522
|
|
27493
27523
|
this.assertCheckboxIsNotChecked();
|
27494
27524
|
|
27495
27525
|
this.runTask(function () {
|
27496
|
-
return _emberMetal.set(
|
27526
|
+
return _emberMetal.set(_this14.context, 'isChecked', true);
|
27497
27527
|
});
|
27498
27528
|
|
27499
27529
|
this.assertCheckboxIsChecked();
|
27500
27530
|
};
|
27501
27531
|
|
27502
27532
|
_class3.prototype['@test with static values'] = function testWithStaticValues(assert) {
|
27503
|
-
var
|
27533
|
+
var _this15 = this;
|
27504
27534
|
|
27505
27535
|
this.render('{{input type="checkbox" disabled=false tabindex=10 name="original-name" checked=false}}');
|
27506
27536
|
|
@@ -27511,7 +27541,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27511
27541
|
this.assertAttr('name', 'original-name');
|
27512
27542
|
|
27513
27543
|
this.runTask(function () {
|
27514
|
-
return
|
27544
|
+
return _this15.rerender();
|
27515
27545
|
});
|
27516
27546
|
|
27517
27547
|
this.assertSingleCheckbox();
|
@@ -27534,7 +27564,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27534
27564
|
}
|
27535
27565
|
|
27536
27566
|
_class4.prototype['@test null values'] = function testNullValues(assert) {
|
27537
|
-
var
|
27567
|
+
var _this16 = this;
|
27538
27568
|
|
27539
27569
|
var attributes = ['disabled', 'placeholder', 'name', 'maxlength', 'size', 'tabindex'];
|
27540
27570
|
|
@@ -27552,20 +27582,20 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27552
27582
|
this.assertAllAttrs(attributes, undefined);
|
27553
27583
|
|
27554
27584
|
this.runTask(function () {
|
27555
|
-
return
|
27585
|
+
return _this16.rerender();
|
27556
27586
|
});
|
27557
27587
|
|
27558
27588
|
this.assertValue('');
|
27559
27589
|
this.assertAllAttrs(attributes, undefined);
|
27560
27590
|
|
27561
27591
|
this.runTask(function () {
|
27562
|
-
_emberMetal.set(
|
27563
|
-
_emberMetal.set(
|
27564
|
-
_emberMetal.set(
|
27565
|
-
_emberMetal.set(
|
27566
|
-
_emberMetal.set(
|
27567
|
-
_emberMetal.set(
|
27568
|
-
_emberMetal.set(
|
27592
|
+
_emberMetal.set(_this16.context, 'disabled', true);
|
27593
|
+
_emberMetal.set(_this16.context, 'value', 'Updated value');
|
27594
|
+
_emberMetal.set(_this16.context, 'placeholder', 'Updated placeholder');
|
27595
|
+
_emberMetal.set(_this16.context, 'name', 'updated-name');
|
27596
|
+
_emberMetal.set(_this16.context, 'maxlength', 11);
|
27597
|
+
_emberMetal.set(_this16.context, 'size', 21);
|
27598
|
+
_emberMetal.set(_this16.context, 'tabindex', 31);
|
27569
27599
|
});
|
27570
27600
|
|
27571
27601
|
this.assertDisabled();
|
@@ -27577,13 +27607,13 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27577
27607
|
this.assertAttr('tabindex', '31');
|
27578
27608
|
|
27579
27609
|
this.runTask(function () {
|
27580
|
-
_emberMetal.set(
|
27581
|
-
_emberMetal.set(
|
27582
|
-
_emberMetal.set(
|
27583
|
-
_emberMetal.set(
|
27584
|
-
_emberMetal.set(
|
27610
|
+
_emberMetal.set(_this16.context, 'disabled', null);
|
27611
|
+
_emberMetal.set(_this16.context, 'value', null);
|
27612
|
+
_emberMetal.set(_this16.context, 'placeholder', null);
|
27613
|
+
_emberMetal.set(_this16.context, 'name', null);
|
27614
|
+
_emberMetal.set(_this16.context, 'maxlength', null);
|
27585
27615
|
// set(this.context, 'size', null); //NOTE: this fails with `Error: Failed to set the 'size' property on 'HTMLInputElement': The value provided is 0, which is an invalid size.` (TEST_SUITE=sauce)
|
27586
|
-
_emberMetal.set(
|
27616
|
+
_emberMetal.set(_this16.context, 'tabindex', null);
|
27587
27617
|
});
|
27588
27618
|
|
27589
27619
|
this.assertAttr('disabled', undefined);
|
@@ -59453,6 +59483,29 @@ enifed('ember-template-compiler/tests/plugins/transform-input-on-test', ['export
|
|
59453
59483
|
}, 'Using \'{{input on="asdf" ...}}\' without specifying an action (\'foo/bar/baz\' @ L1:C0) will do nothing.');
|
59454
59484
|
});
|
59455
59485
|
});
|
59486
|
+
enifed('ember-template-compiler/tests/plugins/transform-input-type-syntax-test', ['exports', 'ember-template-compiler/index'], function (exports, _emberTemplateCompilerIndex) {
|
59487
|
+
'use strict';
|
59488
|
+
|
59489
|
+
QUnit.module('ember-template-compiler: input type syntax');
|
59490
|
+
|
59491
|
+
QUnit.test('Can compile an {{input}} helper that has a sub-expression value as its type', function () {
|
59492
|
+
expect(0);
|
59493
|
+
|
59494
|
+
_emberTemplateCompilerIndex.compile('{{input type=(if true \'password\' \'text\')}}');
|
59495
|
+
});
|
59496
|
+
|
59497
|
+
QUnit.test('Can compile an {{input}} helper with a string literal type', function () {
|
59498
|
+
expect(0);
|
59499
|
+
|
59500
|
+
_emberTemplateCompilerIndex.compile('{{input type=\'text\'}}');
|
59501
|
+
});
|
59502
|
+
|
59503
|
+
QUnit.test('Can compile an {{input}} helper with a type stored in a var', function () {
|
59504
|
+
expect(0);
|
59505
|
+
|
59506
|
+
_emberTemplateCompilerIndex.compile('{{input type=_type}}');
|
59507
|
+
});
|
59508
|
+
});
|
59456
59509
|
enifed('ember-template-compiler/tests/system/bootstrap-test', ['exports', 'ember-metal', 'ember-views', 'ember-glimmer', 'ember-template-compiler/system/bootstrap', 'internal-test-helpers'], function (exports, _emberMetal, _emberViews, _emberGlimmer, _emberTemplateCompilerSystemBootstrap, _internalTestHelpers) {
|
59457
59510
|
'use strict';
|
59458
59511
|
|
data/dist/ember-tests.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
|
9
|
+
* @version 2.11.0
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -27154,6 +27154,36 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27154
27154
|
this.assertAttr('type', 'password');
|
27155
27155
|
};
|
27156
27156
|
|
27157
|
+
_class2.prototype['@test a subexpression can be used to determine type'] = function testASubexpressionCanBeUsedToDetermineType() {
|
27158
|
+
var _this11 = this;
|
27159
|
+
|
27160
|
+
this.render('{{input type=(if isTruthy trueType falseType)}}', {
|
27161
|
+
isTruthy: true,
|
27162
|
+
trueType: 'text',
|
27163
|
+
falseType: 'password'
|
27164
|
+
});
|
27165
|
+
|
27166
|
+
this.assertAttr('type', 'text');
|
27167
|
+
|
27168
|
+
this.runTask(function () {
|
27169
|
+
return _this11.rerender();
|
27170
|
+
});
|
27171
|
+
|
27172
|
+
this.assertAttr('type', 'text');
|
27173
|
+
|
27174
|
+
this.runTask(function () {
|
27175
|
+
return _emberMetal.set(_this11.context, 'isTruthy', false);
|
27176
|
+
});
|
27177
|
+
|
27178
|
+
this.assertAttr('type', 'password');
|
27179
|
+
|
27180
|
+
this.runTask(function () {
|
27181
|
+
return _emberMetal.set(_this11.context, 'isTruthy', true);
|
27182
|
+
});
|
27183
|
+
|
27184
|
+
this.assertAttr('type', 'text');
|
27185
|
+
};
|
27186
|
+
|
27157
27187
|
return _class2;
|
27158
27188
|
})(InputRenderingTest));
|
27159
27189
|
|
@@ -27165,7 +27195,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27165
27195
|
}
|
27166
27196
|
|
27167
27197
|
_class3.prototype['@test dynamic attributes'] = function testDynamicAttributes() {
|
27168
|
-
var
|
27198
|
+
var _this12 = this;
|
27169
27199
|
|
27170
27200
|
this.render('{{input\n type=\'checkbox\'\n disabled=disabled\n name=name\n checked=checked\n tabindex=tabindex\n }}', {
|
27171
27201
|
disabled: false,
|
@@ -27180,7 +27210,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27180
27210
|
this.assertAttr('tabindex', '10');
|
27181
27211
|
|
27182
27212
|
this.runTask(function () {
|
27183
|
-
return
|
27213
|
+
return _this12.rerender();
|
27184
27214
|
});
|
27185
27215
|
|
27186
27216
|
this.assertSingleCheckbox();
|
@@ -27189,9 +27219,9 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27189
27219
|
this.assertAttr('tabindex', '10');
|
27190
27220
|
|
27191
27221
|
this.runTask(function () {
|
27192
|
-
_emberMetal.set(
|
27193
|
-
_emberMetal.set(
|
27194
|
-
_emberMetal.set(
|
27222
|
+
_emberMetal.set(_this12.context, 'disabled', true);
|
27223
|
+
_emberMetal.set(_this12.context, 'name', 'updated-name');
|
27224
|
+
_emberMetal.set(_this12.context, 'tabindex', 11);
|
27195
27225
|
});
|
27196
27226
|
|
27197
27227
|
this.assertSingleCheckbox();
|
@@ -27200,9 +27230,9 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27200
27230
|
this.assertAttr('tabindex', '11');
|
27201
27231
|
|
27202
27232
|
this.runTask(function () {
|
27203
|
-
_emberMetal.set(
|
27204
|
-
_emberMetal.set(
|
27205
|
-
_emberMetal.set(
|
27233
|
+
_emberMetal.set(_this12.context, 'disabled', false);
|
27234
|
+
_emberMetal.set(_this12.context, 'name', 'original-name');
|
27235
|
+
_emberMetal.set(_this12.context, 'tabindex', 10);
|
27206
27236
|
});
|
27207
27237
|
|
27208
27238
|
this.assertSingleCheckbox();
|
@@ -27212,15 +27242,15 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27212
27242
|
};
|
27213
27243
|
|
27214
27244
|
_class3.prototype['@test `value` property assertion'] = function testValuePropertyAssertion() {
|
27215
|
-
var
|
27245
|
+
var _this13 = this;
|
27216
27246
|
|
27217
27247
|
expectAssertion(function () {
|
27218
|
-
|
27248
|
+
_this13.render('{{input type="checkbox" value=value}}', { value: 'value' });
|
27219
27249
|
}, /you must use `checked=/);
|
27220
27250
|
};
|
27221
27251
|
|
27222
27252
|
_class3.prototype['@test with a bound type'] = function testWithABoundType(assert) {
|
27223
|
-
var
|
27253
|
+
var _this14 = this;
|
27224
27254
|
|
27225
27255
|
this.render('{{input type=inputType checked=isChecked}}', { inputType: 'checkbox', isChecked: true });
|
27226
27256
|
|
@@ -27228,26 +27258,26 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27228
27258
|
this.assertCheckboxIsChecked();
|
27229
27259
|
|
27230
27260
|
this.runTask(function () {
|
27231
|
-
return
|
27261
|
+
return _this14.rerender();
|
27232
27262
|
});
|
27233
27263
|
|
27234
27264
|
this.assertCheckboxIsChecked();
|
27235
27265
|
|
27236
27266
|
this.runTask(function () {
|
27237
|
-
return _emberMetal.set(
|
27267
|
+
return _emberMetal.set(_this14.context, 'isChecked', false);
|
27238
27268
|
});
|
27239
27269
|
|
27240
27270
|
this.assertCheckboxIsNotChecked();
|
27241
27271
|
|
27242
27272
|
this.runTask(function () {
|
27243
|
-
return _emberMetal.set(
|
27273
|
+
return _emberMetal.set(_this14.context, 'isChecked', true);
|
27244
27274
|
});
|
27245
27275
|
|
27246
27276
|
this.assertCheckboxIsChecked();
|
27247
27277
|
};
|
27248
27278
|
|
27249
27279
|
_class3.prototype['@test with static values'] = function testWithStaticValues(assert) {
|
27250
|
-
var
|
27280
|
+
var _this15 = this;
|
27251
27281
|
|
27252
27282
|
this.render('{{input type="checkbox" disabled=false tabindex=10 name="original-name" checked=false}}');
|
27253
27283
|
|
@@ -27258,7 +27288,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27258
27288
|
this.assertAttr('name', 'original-name');
|
27259
27289
|
|
27260
27290
|
this.runTask(function () {
|
27261
|
-
return
|
27291
|
+
return _this15.rerender();
|
27262
27292
|
});
|
27263
27293
|
|
27264
27294
|
this.assertSingleCheckbox();
|
@@ -27279,7 +27309,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27279
27309
|
}
|
27280
27310
|
|
27281
27311
|
_class4.prototype['@test null values'] = function testNullValues(assert) {
|
27282
|
-
var
|
27312
|
+
var _this16 = this;
|
27283
27313
|
|
27284
27314
|
var attributes = ['disabled', 'placeholder', 'name', 'maxlength', 'size', 'tabindex'];
|
27285
27315
|
|
@@ -27297,20 +27327,20 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27297
27327
|
this.assertAllAttrs(attributes, undefined);
|
27298
27328
|
|
27299
27329
|
this.runTask(function () {
|
27300
|
-
return
|
27330
|
+
return _this16.rerender();
|
27301
27331
|
});
|
27302
27332
|
|
27303
27333
|
this.assertValue('');
|
27304
27334
|
this.assertAllAttrs(attributes, undefined);
|
27305
27335
|
|
27306
27336
|
this.runTask(function () {
|
27307
|
-
_emberMetal.set(
|
27308
|
-
_emberMetal.set(
|
27309
|
-
_emberMetal.set(
|
27310
|
-
_emberMetal.set(
|
27311
|
-
_emberMetal.set(
|
27312
|
-
_emberMetal.set(
|
27313
|
-
_emberMetal.set(
|
27337
|
+
_emberMetal.set(_this16.context, 'disabled', true);
|
27338
|
+
_emberMetal.set(_this16.context, 'value', 'Updated value');
|
27339
|
+
_emberMetal.set(_this16.context, 'placeholder', 'Updated placeholder');
|
27340
|
+
_emberMetal.set(_this16.context, 'name', 'updated-name');
|
27341
|
+
_emberMetal.set(_this16.context, 'maxlength', 11);
|
27342
|
+
_emberMetal.set(_this16.context, 'size', 21);
|
27343
|
+
_emberMetal.set(_this16.context, 'tabindex', 31);
|
27314
27344
|
});
|
27315
27345
|
|
27316
27346
|
this.assertDisabled();
|
@@ -27322,13 +27352,13 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
27322
27352
|
this.assertAttr('tabindex', '31');
|
27323
27353
|
|
27324
27354
|
this.runTask(function () {
|
27325
|
-
_emberMetal.set(
|
27326
|
-
_emberMetal.set(
|
27327
|
-
_emberMetal.set(
|
27328
|
-
_emberMetal.set(
|
27329
|
-
_emberMetal.set(
|
27355
|
+
_emberMetal.set(_this16.context, 'disabled', null);
|
27356
|
+
_emberMetal.set(_this16.context, 'value', null);
|
27357
|
+
_emberMetal.set(_this16.context, 'placeholder', null);
|
27358
|
+
_emberMetal.set(_this16.context, 'name', null);
|
27359
|
+
_emberMetal.set(_this16.context, 'maxlength', null);
|
27330
27360
|
// set(this.context, 'size', null); //NOTE: this fails with `Error: Failed to set the 'size' property on 'HTMLInputElement': The value provided is 0, which is an invalid size.` (TEST_SUITE=sauce)
|
27331
|
-
_emberMetal.set(
|
27361
|
+
_emberMetal.set(_this16.context, 'tabindex', null);
|
27332
27362
|
});
|
27333
27363
|
|
27334
27364
|
this.assertAttr('disabled', undefined);
|
@@ -58994,6 +59024,29 @@ enifed('ember-template-compiler/tests/plugins/transform-input-on-test', ['export
|
|
58994
59024
|
}, 'Using \'{{input on="asdf" ...}}\' without specifying an action (\'foo/bar/baz\' @ L1:C0) will do nothing.');
|
58995
59025
|
});
|
58996
59026
|
});
|
59027
|
+
enifed('ember-template-compiler/tests/plugins/transform-input-type-syntax-test', ['exports', 'ember-template-compiler/index'], function (exports, _emberTemplateCompilerIndex) {
|
59028
|
+
'use strict';
|
59029
|
+
|
59030
|
+
QUnit.module('ember-template-compiler: input type syntax');
|
59031
|
+
|
59032
|
+
QUnit.test('Can compile an {{input}} helper that has a sub-expression value as its type', function () {
|
59033
|
+
expect(0);
|
59034
|
+
|
59035
|
+
_emberTemplateCompilerIndex.compile('{{input type=(if true \'password\' \'text\')}}');
|
59036
|
+
});
|
59037
|
+
|
59038
|
+
QUnit.test('Can compile an {{input}} helper with a string literal type', function () {
|
59039
|
+
expect(0);
|
59040
|
+
|
59041
|
+
_emberTemplateCompilerIndex.compile('{{input type=\'text\'}}');
|
59042
|
+
});
|
59043
|
+
|
59044
|
+
QUnit.test('Can compile an {{input}} helper with a type stored in a var', function () {
|
59045
|
+
expect(0);
|
59046
|
+
|
59047
|
+
_emberTemplateCompilerIndex.compile('{{input type=_type}}');
|
59048
|
+
});
|
59049
|
+
});
|
58997
59050
|
enifed('ember-template-compiler/tests/system/bootstrap-test', ['exports', 'ember-metal', 'ember-views', 'ember-glimmer', 'ember-template-compiler/system/bootstrap', 'internal-test-helpers'], function (exports, _emberMetal, _emberViews, _emberGlimmer, _emberTemplateCompilerSystemBootstrap, _internalTestHelpers) {
|
58998
59051
|
'use strict';
|
58999
59052
|
|
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
|
9
|
+
* @version 2.11.0
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -42995,7 +42995,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils',
|
|
42995
42995
|
enifed("ember/version", ["exports"], function (exports) {
|
42996
42996
|
"use strict";
|
42997
42997
|
|
42998
|
-
exports.default = "2.11.0
|
42998
|
+
exports.default = "2.11.0";
|
42999
42999
|
});
|
43000
43000
|
enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {
|
43001
43001
|
'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
|
9
|
+
* @version 2.11.0
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -42995,7 +42995,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils',
|
|
42995
42995
|
enifed("ember/version", ["exports"], function (exports) {
|
42996
42996
|
"use strict";
|
42997
42997
|
|
42998
|
-
exports.default = "2.11.0
|
42998
|
+
exports.default = "2.11.0";
|
42999
42999
|
});
|
43000
43000
|
enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {
|
43001
43001
|
'use strict';
|
data/dist/ember.min.js
CHANGED
@@ -2161,7 +2161,7 @@ d.setDiff=u.setDiff,d.mapBy=u.mapBy,d.filter=u.filter,d.filterBy=u.filterBy,d.un
|
|
2161
2161
|
var g=o.default.Handlebars=o.default.Handlebars||{},v=o.default.HTMLBars=o.default.HTMLBars||{},y=g.Utils=g.Utils||{}
|
2162
2162
|
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")
|
2163
2163
|
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"
|
2164
|
-
e.default="2.11.0
|
2164
|
+
e.default="2.11.0"}),s("internal-test-helpers/apply-mixins",["exports","ember-utils"],function(e,t){"use strict"
|
2165
2165
|
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]
|
2166
2166
|
return i.forEach(function(r){var i=void 0
|
2167
2167
|
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
|
9
|
+
* @version 2.11.0
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -39776,7 +39776,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils',
|
|
39776
39776
|
enifed("ember/version", ["exports"], function (exports) {
|
39777
39777
|
"use strict";
|
39778
39778
|
|
39779
|
-
exports.default = "2.11.0
|
39779
|
+
exports.default = "2.11.0";
|
39780
39780
|
});
|
39781
39781
|
enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {
|
39782
39782
|
'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
|
4
|
+
version: 2.11.0
|
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-01-
|
11
|
+
date: 2017-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ember.js source code wrapper for use with Ruby libs.
|
14
14
|
email:
|
@@ -44,9 +44,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
44
44
|
version: '0'
|
45
45
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
49
|
+
version: '0'
|
50
50
|
requirements: []
|
51
51
|
rubyforge_project:
|
52
52
|
rubygems_version: 2.5.1
|