Skip to content

Commit

Permalink
feat: support angular 4.0.0-beta.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mgechev committed Feb 19, 2017
1 parent 6ad4e8d commit 98639a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/angular/templates/templateParser.ts
Expand Up @@ -60,7 +60,7 @@ export const parseTemplate = (template: string, directives: DirectiveDeclaration
tmplParser =
new TemplateParser(config, expressionParser, elementSchemaRegistry, htmlParser, ngConsole, []);
})
.lt('4.0.0-beta.8', () => {
.else(() => {
tmplParser =
new TemplateParser(expressionParser, elementSchemaRegistry, htmlParser, ngConsole, []);
});
Expand Down
2 changes: 1 addition & 1 deletion src/noUnusedCssRule.ts
Expand Up @@ -218,7 +218,7 @@ export class UnusedCssNg2Visitor extends Ng2Walker {
this.templateAst =
new ElementAstCtr('*', [], [], [], [], [], [], false, [], parseTemplate(meta.template.template.code), 0, null, null);
})
.lt('4.0.0-beta.8', () => {
.else(() => {
this.templateAst =
new ElementAstCtr('*', [], [], [], [], [], [], false, parseTemplate(meta.template.template.code), 0, null, null);
});
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Expand Up @@ -1362,9 +1362,9 @@ semver-diff@^2.0.0:
dependencies:
semver "^5.0.3"

semver-dsl@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/semver-dsl/-/semver-dsl-1.0.0.tgz#462ce8159950ef8def4e0d797caee19cb6ad94cf"
semver-dsl@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/semver-dsl/-/semver-dsl-1.0.1.tgz#d3678de5555e8a61f629eed025366ae5f27340a0"
dependencies:
semver "^5.3.0"

Expand Down

0 comments on commit 98639a9

Please sign in to comment.