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

@ -299,8 +299,10 @@ export class BrowserDomAdapter extends GenericBrowserDomAdapter {
}
resetBaseElement(): void { baseElement = null; }
getUserAgent(): string { return window.navigator.userAgent; }
setData(element, name: string, value: string) { element.dataset[name] = value; }
getData(element, name: string): string { return element.dataset[name]; }
setData(element, name: string, value: string) {
this.setAttribute(element, 'data-' + name, value);
}
getData(element, name: string): string { return this.getAttribute(element, 'data-' + name); }
// TODO(tbosch): move this into a separate environment class once we have it
setGlobalVar(name: string, value: any) { global[name] = value; }
}

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;
}
}

View File

@ -125,7 +125,7 @@ var aliases = {
'SAFARI': ['SL_SAFARI7', 'SL_SAFARI8'],
'BETA': ['SL_CHROMEBETA', 'SL_FIREFOXBETA'],
'DEV': ['SL_CHROMEDEV', 'SL_FIREFOXDEV'],
'CI': ['SL_CHROME', 'SL_ANDROID5.1', 'SL_SAFARI8', 'SL_IOS8', 'SL_FIREFOX', 'SL_IE11']
'CI': ['SL_CHROME', 'SL_ANDROID5.1', 'SL_SAFARI8', 'SL_IOS8', 'SL_FIREFOX', 'SL_IE11', 'SL_IE10']
};
module.exports = {