chore(build): add IE10 to CI

This commit is contained in:
Marc Laval
2015-08-20 10:12:46 +02:00
parent 9ba2ab5cea
commit b0d27ee896
3 changed files with 10 additions and 7 deletions

View File

@ -1060,7 +1060,7 @@ export function main() {
var tc = rootTC.componentViewChildren[0];
var needsAttribute = tc.inject(NeedsAttribute);
expect(needsAttribute.typeAttribute).toEqual('text');
expect(needsAttribute.titleAttribute).toEqual('');
expect(needsAttribute.staticAttribute).toEqual('');
expect(needsAttribute.fooAttribute).toEqual(null);
async.done();
@ -1886,12 +1886,13 @@ class IdDir {
@Injectable()
class NeedsAttribute {
typeAttribute;
titleAttribute;
staticAttribute;
fooAttribute;
constructor(@Attribute('type') typeAttribute: String, @Attribute('title') titleAttribute: String,
constructor(@Attribute('type') typeAttribute: String,
@Attribute('static') staticAttribute: String,
@Attribute('foo') fooAttribute: String) {
this.typeAttribute = typeAttribute;
this.titleAttribute = titleAttribute;
this.staticAttribute = staticAttribute;
this.fooAttribute = fooAttribute;
}
}