chore(typescript): fixes dart failures and linter

Closes #4359
This commit is contained in:
vsavkin
2015-09-25 12:58:00 -07:00
committed by Victor Savkin
parent 7a53f82516
commit 5bf6a3af15
21 changed files with 293 additions and 178 deletions
@@ -91,7 +91,7 @@ export class StyleInliner {
}
return PromiseWrapper.all(promises).then(function(cssParts) {
var cssText = cssParts.join('');
var cssText = (<any[]>cssParts).join('');
if (partIndex < parts.length) {
// append then content located after the last @import rule
cssText += parts[partIndex];
@@ -5,8 +5,8 @@ import {DOCUMENT} from '../dom_tokens';
@Injectable()
export class SharedStylesHost {
protected _styles: string[] = [];
protected _stylesSet: Set<string> = new Set();
_styles: string[] = [];
_stylesSet: Set<string> = new Set();
constructor() {}
@@ -22,7 +22,7 @@ export class SharedStylesHost {
this.onStylesAdded(additions);
}
protected onStylesAdded(additions: string[]) {}
onStylesAdded(additions: string[]) {}
getAllStyles(): string[] { return this._styles; }
}