ember-source 2.12.0.beta.1 → 2.12.0.beta.2
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 +27 -24
- data/dist/ember-template-compiler.js +8 -4
- data/dist/ember-testing.js +2 -1
- data/dist/ember-tests.js +95 -32
- data/dist/ember-tests.prod.js +95 -32
- data/dist/ember.debug.js +93 -96
- data/dist/ember.js +93 -96
- data/dist/ember.min.js +38 -40
- data/dist/ember.prod.js +86 -97
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37303faedadf93a871dc19fafeb37540c8c3642d
|
4
|
+
data.tar.gz: a619f31c8e15940b79bb85a894e5c2f521f15331
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66f98ae2d785761fc22306571796f7bfd66ab284815ee4ad453fa9123698db29fb7d4c0824a0f5276d7f13aa873552a91471787f9ff3413b97094ffad3c8dc35
|
7
|
+
data.tar.gz: 145778411ff9939ec4f95c98ae285d87b187e394e6ba0eb67171609450562cae1e2eefd4c553267e6e5dd2ce2d2c092749e0bfcf9f40f61704fc052c24335ffb
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.12.0.beta.
|
1
|
+
2.12.0.beta.2
|
data/dist/ember-runtime.js
CHANGED
@@ -6,10 +6,11 @@
|
|
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.12.0-beta.
|
9
|
+
* @version 2.12.0-beta.2
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
13
|
+
var mainContext = this; // Used in ember-environment/lib/global.js
|
13
14
|
|
14
15
|
(function() {
|
15
16
|
var isNode = typeof window === 'undefined' &&
|
@@ -1312,7 +1313,7 @@ enifed('container/container', ['exports', 'ember-utils', 'ember-environment', 'e
|
|
1312
1313
|
lookupFactory: function (fullName, options) {
|
1313
1314
|
_emberMetal.assert('fullName must be a proper full name', this.registry.validateFullName(fullName));
|
1314
1315
|
|
1315
|
-
_emberMetal.deprecate('Using "_lookupFactory" is deprecated. Please use container.factoryFor instead.', !_emberMetal.isFeatureEnabled('ember-factory-for'), { id: 'container-lookupFactory', until: '2.13.0', url: '
|
1316
|
+
_emberMetal.deprecate('Using "_lookupFactory" is deprecated. Please use container.factoryFor instead.', !_emberMetal.isFeatureEnabled('ember-factory-for'), { id: 'container-lookupFactory', until: '2.13.0', url: 'http://emberjs.com/deprecations/v2.x/#toc_migrating-from-_lookupfactory-to-factoryfor' });
|
1316
1317
|
|
1317
1318
|
return deprecatedFactoryFor(this, this.registry.normalize(fullName), options);
|
1318
1319
|
}
|
@@ -8024,7 +8025,10 @@ enifed('ember-metal/mixin', ['exports', 'ember-utils', 'ember-metal/error', 'emb
|
|
8024
8025
|
post: null
|
8025
8026
|
});
|
8026
8027
|
|
8027
|
-
let comment = Comment.create(
|
8028
|
+
let comment = Comment.create({
|
8029
|
+
post: somePost
|
8030
|
+
});
|
8031
|
+
|
8028
8032
|
comment.edit(); // outputs 'starting to edit'
|
8029
8033
|
```
|
8030
8034
|
|
@@ -17884,7 +17888,7 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-utils', 'ember-met
|
|
17884
17888
|
}
|
17885
17889
|
});
|
17886
17890
|
let steve = Person.create({
|
17887
|
-
name:
|
17891
|
+
name: 'Steve'
|
17888
17892
|
});
|
17889
17893
|
// alerts 'Name is Steve'.
|
17890
17894
|
```
|
@@ -18202,8 +18206,8 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-utils', 'ember-met
|
|
18202
18206
|
nonMerged: 'superclass value of nonMerged'
|
18203
18207
|
},
|
18204
18208
|
mergedProperty: {
|
18205
|
-
page: {replace: false},
|
18206
|
-
limit: {replace: true}
|
18209
|
+
page: { replace: false },
|
18210
|
+
limit: { replace: true }
|
18207
18211
|
}
|
18208
18212
|
});
|
18209
18213
|
const FooBar = Bar.extend({
|
@@ -18211,7 +18215,7 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-utils', 'ember-met
|
|
18211
18215
|
completelyNonMerged: 'subclass value of nonMerged'
|
18212
18216
|
},
|
18213
18217
|
mergedProperty: {
|
18214
|
-
limit: {replace: false}
|
18218
|
+
limit: { replace: false }
|
18215
18219
|
}
|
18216
18220
|
});
|
18217
18221
|
let fooBar = FooBar.create();
|
@@ -18355,9 +18359,9 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-utils', 'ember-met
|
|
18355
18359
|
}
|
18356
18360
|
});
|
18357
18361
|
let yehuda = Soldier.create({
|
18358
|
-
name:
|
18362
|
+
name: 'Yehuda Katz'
|
18359
18363
|
});
|
18360
|
-
yehuda.say(
|
18364
|
+
yehuda.say('Yes'); // alerts "Yehuda Katz says: Yes, sir!"
|
18361
18365
|
```
|
18362
18366
|
The `create()` on line #17 creates an *instance* of the `Soldier` class.
|
18363
18367
|
The `extend()` on line #8 creates a *subclass* of `Person`. Any instance
|
@@ -18429,13 +18433,13 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-utils', 'ember-met
|
|
18429
18433
|
o = MyObject.create();
|
18430
18434
|
o.get('name'); // 'an object'
|
18431
18435
|
MyObject.reopen({
|
18432
|
-
say(msg){
|
18436
|
+
say(msg) {
|
18433
18437
|
console.log(msg);
|
18434
18438
|
}
|
18435
|
-
})
|
18439
|
+
});
|
18436
18440
|
o2 = MyObject.create();
|
18437
|
-
o2.say(
|
18438
|
-
o.say(
|
18441
|
+
o2.say('hello'); // logs "hello"
|
18442
|
+
o.say('goodbye'); // logs "goodbye"
|
18439
18443
|
```
|
18440
18444
|
To add functions and properties to the constructor itself,
|
18441
18445
|
see `reopenClass`
|
@@ -18459,23 +18463,22 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-utils', 'ember-met
|
|
18459
18463
|
These are only available on the class and not on any instance of that class.
|
18460
18464
|
```javascript
|
18461
18465
|
const Person = Ember.Object.extend({
|
18462
|
-
name:
|
18466
|
+
name: '',
|
18463
18467
|
sayHello() {
|
18464
|
-
alert(
|
18468
|
+
alert(`Hello. My name is ${this.get('name')}`);
|
18465
18469
|
}
|
18466
18470
|
});
|
18467
18471
|
Person.reopenClass({
|
18468
|
-
species:
|
18469
|
-
|
18470
|
-
|
18471
|
-
|
18472
|
-
});
|
18472
|
+
species: 'Homo sapiens',
|
18473
|
+
|
18474
|
+
createPerson(name) {
|
18475
|
+
return Person.create({ name });
|
18473
18476
|
}
|
18474
18477
|
});
|
18475
18478
|
let tom = Person.create({
|
18476
|
-
name:
|
18479
|
+
name: 'Tom Dale'
|
18477
18480
|
});
|
18478
|
-
let yehuda = Person.createPerson(
|
18481
|
+
let yehuda = Person.createPerson('Yehuda Katz');
|
18479
18482
|
tom.sayHello(); // "Hello. My name is Tom Dale"
|
18480
18483
|
yehuda.sayHello(); // "Hello. My name is Yehuda Katz"
|
18481
18484
|
alert(Person.species); // "Homo sapiens"
|
@@ -19222,7 +19225,7 @@ enifed('ember-runtime/system/object_proxy', ['exports', 'ember-runtime/system/ob
|
|
19222
19225
|
@class ObjectProxy
|
19223
19226
|
@namespace Ember
|
19224
19227
|
@extends Ember.Object
|
19225
|
-
@
|
19228
|
+
@uses Ember.ProxyMixin
|
19226
19229
|
@public
|
19227
19230
|
*/
|
19228
19231
|
|
@@ -19743,7 +19746,7 @@ enifed("ember/features", ["exports"], function (exports) {
|
|
19743
19746
|
enifed("ember/version", ["exports"], function (exports) {
|
19744
19747
|
"use strict";
|
19745
19748
|
|
19746
|
-
exports.default = "2.12.0-beta.
|
19749
|
+
exports.default = "2.12.0-beta.2";
|
19747
19750
|
});
|
19748
19751
|
enifed('rsvp', ['exports'], function (exports) {
|
19749
19752
|
'use strict';
|
@@ -6,10 +6,11 @@
|
|
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.12.0-beta.
|
9
|
+
* @version 2.12.0-beta.2
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
13
|
+
var mainContext = this; // Used in ember-environment/lib/global.js
|
13
14
|
|
14
15
|
(function() {
|
15
16
|
var isNode = typeof window === 'undefined' &&
|
@@ -7085,7 +7086,10 @@ enifed('ember-metal/mixin', ['exports', 'ember-utils', 'ember-metal/error', 'emb
|
|
7085
7086
|
post: null
|
7086
7087
|
});
|
7087
7088
|
|
7088
|
-
let comment = Comment.create(
|
7089
|
+
let comment = Comment.create({
|
7090
|
+
post: somePost
|
7091
|
+
});
|
7092
|
+
|
7089
7093
|
comment.edit(); // outputs 'starting to edit'
|
7090
7094
|
```
|
7091
7095
|
|
@@ -10728,7 +10732,7 @@ enifed('ember-template-compiler/plugins/transform-input-type-syntax', ['exports'
|
|
10728
10732
|
}
|
10729
10733
|
}
|
10730
10734
|
if (pair && pair.value.type !== 'StringLiteral') {
|
10731
|
-
node.params.unshift(builders.sexpr('-input-type', [
|
10735
|
+
node.params.unshift(builders.sexpr('-input-type', [pair.value], null, pair.loc));
|
10732
10736
|
}
|
10733
10737
|
}
|
10734
10738
|
});
|
@@ -12138,7 +12142,7 @@ enifed("ember/features", ["exports"], function (exports) {
|
|
12138
12142
|
enifed("ember/version", ["exports"], function (exports) {
|
12139
12143
|
"use strict";
|
12140
12144
|
|
12141
|
-
exports.default = "2.12.0-beta.
|
12145
|
+
exports.default = "2.12.0-beta.2";
|
12142
12146
|
});
|
12143
12147
|
enifed("glimmer-compiler/index", ["exports", "glimmer-compiler/lib/compiler", "glimmer-compiler/lib/template-visitor"], function (exports, _glimmerCompilerLibCompiler, _glimmerCompilerLibTemplateVisitor) {
|
12144
12148
|
"use strict";
|
data/dist/ember-testing.js
CHANGED
@@ -6,10 +6,11 @@
|
|
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.12.0-beta.
|
9
|
+
* @version 2.12.0-beta.2
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
13
|
+
var mainContext = this; // Used in ember-environment/lib/global.js
|
13
14
|
|
14
15
|
(function() {
|
15
16
|
var isNode = typeof window === 'undefined' &&
|
data/dist/ember-tests.js
CHANGED
@@ -6,10 +6,11 @@
|
|
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.12.0-beta.
|
9
|
+
* @version 2.12.0-beta.2
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
13
|
+
var mainContext = this; // Used in ember-environment/lib/global.js
|
13
14
|
|
14
15
|
(function() {
|
15
16
|
var isNode = typeof window === 'undefined' &&
|
@@ -28820,6 +28821,36 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28820
28821
|
this.assertAttr('type', 'password');
|
28821
28822
|
};
|
28822
28823
|
|
28824
|
+
_class2.prototype['@test a subexpression can be used to determine type'] = function testASubexpressionCanBeUsedToDetermineType() {
|
28825
|
+
var _this11 = this;
|
28826
|
+
|
28827
|
+
this.render('{{input type=(if isTruthy trueType falseType)}}', {
|
28828
|
+
isTruthy: true,
|
28829
|
+
trueType: 'text',
|
28830
|
+
falseType: 'password'
|
28831
|
+
});
|
28832
|
+
|
28833
|
+
this.assertAttr('type', 'text');
|
28834
|
+
|
28835
|
+
this.runTask(function () {
|
28836
|
+
return _this11.rerender();
|
28837
|
+
});
|
28838
|
+
|
28839
|
+
this.assertAttr('type', 'text');
|
28840
|
+
|
28841
|
+
this.runTask(function () {
|
28842
|
+
return _emberMetal.set(_this11.context, 'isTruthy', false);
|
28843
|
+
});
|
28844
|
+
|
28845
|
+
this.assertAttr('type', 'password');
|
28846
|
+
|
28847
|
+
this.runTask(function () {
|
28848
|
+
return _emberMetal.set(_this11.context, 'isTruthy', true);
|
28849
|
+
});
|
28850
|
+
|
28851
|
+
this.assertAttr('type', 'text');
|
28852
|
+
};
|
28853
|
+
|
28823
28854
|
return _class2;
|
28824
28855
|
})(InputRenderingTest));
|
28825
28856
|
|
@@ -28833,7 +28864,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28833
28864
|
}
|
28834
28865
|
|
28835
28866
|
_class3.prototype['@test dynamic attributes'] = function testDynamicAttributes() {
|
28836
|
-
var
|
28867
|
+
var _this12 = this;
|
28837
28868
|
|
28838
28869
|
this.render('{{input\n type=\'checkbox\'\n disabled=disabled\n name=name\n checked=checked\n tabindex=tabindex\n }}', {
|
28839
28870
|
disabled: false,
|
@@ -28848,7 +28879,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28848
28879
|
this.assertAttr('tabindex', '10');
|
28849
28880
|
|
28850
28881
|
this.runTask(function () {
|
28851
|
-
return
|
28882
|
+
return _this12.rerender();
|
28852
28883
|
});
|
28853
28884
|
|
28854
28885
|
this.assertSingleCheckbox();
|
@@ -28857,9 +28888,9 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28857
28888
|
this.assertAttr('tabindex', '10');
|
28858
28889
|
|
28859
28890
|
this.runTask(function () {
|
28860
|
-
_emberMetal.set(
|
28861
|
-
_emberMetal.set(
|
28862
|
-
_emberMetal.set(
|
28891
|
+
_emberMetal.set(_this12.context, 'disabled', true);
|
28892
|
+
_emberMetal.set(_this12.context, 'name', 'updated-name');
|
28893
|
+
_emberMetal.set(_this12.context, 'tabindex', 11);
|
28863
28894
|
});
|
28864
28895
|
|
28865
28896
|
this.assertSingleCheckbox();
|
@@ -28868,9 +28899,9 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28868
28899
|
this.assertAttr('tabindex', '11');
|
28869
28900
|
|
28870
28901
|
this.runTask(function () {
|
28871
|
-
_emberMetal.set(
|
28872
|
-
_emberMetal.set(
|
28873
|
-
_emberMetal.set(
|
28902
|
+
_emberMetal.set(_this12.context, 'disabled', false);
|
28903
|
+
_emberMetal.set(_this12.context, 'name', 'original-name');
|
28904
|
+
_emberMetal.set(_this12.context, 'tabindex', 10);
|
28874
28905
|
});
|
28875
28906
|
|
28876
28907
|
this.assertSingleCheckbox();
|
@@ -28880,15 +28911,15 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28880
28911
|
};
|
28881
28912
|
|
28882
28913
|
_class3.prototype['@test `value` property assertion'] = function testValuePropertyAssertion() {
|
28883
|
-
var
|
28914
|
+
var _this13 = this;
|
28884
28915
|
|
28885
28916
|
expectAssertion(function () {
|
28886
|
-
|
28917
|
+
_this13.render('{{input type="checkbox" value=value}}', { value: 'value' });
|
28887
28918
|
}, /you must use `checked=/);
|
28888
28919
|
};
|
28889
28920
|
|
28890
28921
|
_class3.prototype['@test with a bound type'] = function testWithABoundType(assert) {
|
28891
|
-
var
|
28922
|
+
var _this14 = this;
|
28892
28923
|
|
28893
28924
|
this.render('{{input type=inputType checked=isChecked}}', { inputType: 'checkbox', isChecked: true });
|
28894
28925
|
|
@@ -28896,26 +28927,26 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28896
28927
|
this.assertCheckboxIsChecked();
|
28897
28928
|
|
28898
28929
|
this.runTask(function () {
|
28899
|
-
return
|
28930
|
+
return _this14.rerender();
|
28900
28931
|
});
|
28901
28932
|
|
28902
28933
|
this.assertCheckboxIsChecked();
|
28903
28934
|
|
28904
28935
|
this.runTask(function () {
|
28905
|
-
return _emberMetal.set(
|
28936
|
+
return _emberMetal.set(_this14.context, 'isChecked', false);
|
28906
28937
|
});
|
28907
28938
|
|
28908
28939
|
this.assertCheckboxIsNotChecked();
|
28909
28940
|
|
28910
28941
|
this.runTask(function () {
|
28911
|
-
return _emberMetal.set(
|
28942
|
+
return _emberMetal.set(_this14.context, 'isChecked', true);
|
28912
28943
|
});
|
28913
28944
|
|
28914
28945
|
this.assertCheckboxIsChecked();
|
28915
28946
|
};
|
28916
28947
|
|
28917
28948
|
_class3.prototype['@test with static values'] = function testWithStaticValues(assert) {
|
28918
|
-
var
|
28949
|
+
var _this15 = this;
|
28919
28950
|
|
28920
28951
|
this.render('{{input type="checkbox" disabled=false tabindex=10 name="original-name" checked=false}}');
|
28921
28952
|
|
@@ -28926,7 +28957,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28926
28957
|
this.assertAttr('name', 'original-name');
|
28927
28958
|
|
28928
28959
|
this.runTask(function () {
|
28929
|
-
return
|
28960
|
+
return _this15.rerender();
|
28930
28961
|
});
|
28931
28962
|
|
28932
28963
|
this.assertSingleCheckbox();
|
@@ -28949,7 +28980,7 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28949
28980
|
}
|
28950
28981
|
|
28951
28982
|
_class4.prototype['@test null values'] = function testNullValues(assert) {
|
28952
|
-
var
|
28983
|
+
var _this16 = this;
|
28953
28984
|
|
28954
28985
|
var attributes = ['disabled', 'placeholder', 'name', 'maxlength', 'size', 'tabindex'];
|
28955
28986
|
|
@@ -28967,20 +28998,20 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28967
28998
|
this.assertAllAttrs(attributes, undefined);
|
28968
28999
|
|
28969
29000
|
this.runTask(function () {
|
28970
|
-
return
|
29001
|
+
return _this16.rerender();
|
28971
29002
|
});
|
28972
29003
|
|
28973
29004
|
this.assertValue('');
|
28974
29005
|
this.assertAllAttrs(attributes, undefined);
|
28975
29006
|
|
28976
29007
|
this.runTask(function () {
|
28977
|
-
_emberMetal.set(
|
28978
|
-
_emberMetal.set(
|
28979
|
-
_emberMetal.set(
|
28980
|
-
_emberMetal.set(
|
28981
|
-
_emberMetal.set(
|
28982
|
-
_emberMetal.set(
|
28983
|
-
_emberMetal.set(
|
29008
|
+
_emberMetal.set(_this16.context, 'disabled', true);
|
29009
|
+
_emberMetal.set(_this16.context, 'value', 'Updated value');
|
29010
|
+
_emberMetal.set(_this16.context, 'placeholder', 'Updated placeholder');
|
29011
|
+
_emberMetal.set(_this16.context, 'name', 'updated-name');
|
29012
|
+
_emberMetal.set(_this16.context, 'maxlength', 11);
|
29013
|
+
_emberMetal.set(_this16.context, 'size', 21);
|
29014
|
+
_emberMetal.set(_this16.context, 'tabindex', 31);
|
28984
29015
|
});
|
28985
29016
|
|
28986
29017
|
this.assertDisabled();
|
@@ -28992,13 +29023,13 @@ enifed('ember-glimmer/tests/integration/helpers/input-test', ['exports', 'ember-
|
|
28992
29023
|
this.assertAttr('tabindex', '31');
|
28993
29024
|
|
28994
29025
|
this.runTask(function () {
|
28995
|
-
_emberMetal.set(
|
28996
|
-
_emberMetal.set(
|
28997
|
-
_emberMetal.set(
|
28998
|
-
_emberMetal.set(
|
28999
|
-
_emberMetal.set(
|
29026
|
+
_emberMetal.set(_this16.context, 'disabled', null);
|
29027
|
+
_emberMetal.set(_this16.context, 'value', null);
|
29028
|
+
_emberMetal.set(_this16.context, 'placeholder', null);
|
29029
|
+
_emberMetal.set(_this16.context, 'name', null);
|
29030
|
+
_emberMetal.set(_this16.context, 'maxlength', null);
|
29000
29031
|
// 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)
|
29001
|
-
_emberMetal.set(
|
29032
|
+
_emberMetal.set(_this16.context, 'tabindex', null);
|
29002
29033
|
});
|
29003
29034
|
|
29004
29035
|
this.assertAttr('disabled', undefined);
|
@@ -64247,6 +64278,38 @@ enifed('ember-template-compiler/tests/plugins/transform-input-on-test.lint-test'
|
|
64247
64278
|
assert.ok(true, 'ember-template-compiler/tests/plugins/transform-input-on-test.js should pass ESLint\n\n');
|
64248
64279
|
});
|
64249
64280
|
});
|
64281
|
+
enifed('ember-template-compiler/tests/plugins/transform-input-type-syntax-test', ['exports', 'ember-template-compiler/index'], function (exports, _emberTemplateCompilerIndex) {
|
64282
|
+
'use strict';
|
64283
|
+
|
64284
|
+
QUnit.module('ember-template-compiler: input type syntax');
|
64285
|
+
|
64286
|
+
QUnit.test('Can compile an {{input}} helper that has a sub-expression value as its type', function () {
|
64287
|
+
expect(0);
|
64288
|
+
|
64289
|
+
_emberTemplateCompilerIndex.compile('{{input type=(if true \'password\' \'text\')}}');
|
64290
|
+
});
|
64291
|
+
|
64292
|
+
QUnit.test('Can compile an {{input}} helper with a string literal type', function () {
|
64293
|
+
expect(0);
|
64294
|
+
|
64295
|
+
_emberTemplateCompilerIndex.compile('{{input type=\'text\'}}');
|
64296
|
+
});
|
64297
|
+
|
64298
|
+
QUnit.test('Can compile an {{input}} helper with a type stored in a var', function () {
|
64299
|
+
expect(0);
|
64300
|
+
|
64301
|
+
_emberTemplateCompilerIndex.compile('{{input type=_type}}');
|
64302
|
+
});
|
64303
|
+
});
|
64304
|
+
enifed('ember-template-compiler/tests/plugins/transform-input-type-syntax-test.lint-test', ['exports'], function (exports) {
|
64305
|
+
'use strict';
|
64306
|
+
|
64307
|
+
QUnit.module('ESLint | ember-template-compiler/tests/plugins/transform-input-type-syntax-test.js');
|
64308
|
+
QUnit.test('should pass ESLint', function (assert) {
|
64309
|
+
assert.expect(1);
|
64310
|
+
assert.ok(true, 'ember-template-compiler/tests/plugins/transform-input-type-syntax-test.js should pass ESLint\n\n');
|
64311
|
+
});
|
64312
|
+
});
|
64250
64313
|
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) {
|
64251
64314
|
'use strict';
|
64252
64315
|
|