Skip to content

Commit d9f0a19

Browse files
edcarrollmcosta74
authored andcommitted
fix(popup): Fixed AoT Template error (edcarroll#259)
* test: Added AoT support to demo app & travis test * fix(popup): Fixed AoT error Closes edcarroll#247 * chore(demo): Locked angular cli deps to avoid 1.3 errors * fix(popup): Fixed compilation errors introduced by prev commit
1 parent c821617 commit d9f0a19

File tree

11 files changed

+605
-349
lines changed

11 files changed

+605
-349
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ before_install:
77

88
script:
99
- npm run lint
10-
- npm run compile:lib
10+
- npm run compile
1111
- npm run test

angular-cli.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"index": "index.html",
1515
"main": "main.ts",
1616
"test": "../../src/test.ts",
17-
"tsconfig": "tsconfig.json",
17+
"tsconfig": "../../tsconfig.demo.json",
1818
"testTsconfig": "../../src/tsconfig.spec.json",
1919
"prefix": "demo",
2020
"mobile": false,

demo/src/app/pages/modules/modal/modal.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, ViewChild } from "@angular/core";
2-
import { ApiDefinition } from "app/components/api/api.component";
2+
import { ApiDefinition } from "../../../components/api/api.component";
33
import {
44
SuiModalService, ModalTemplate, TemplateModalConfig, ComponentModalConfig,
55
ModalSize, SuiModal

demo/src/app/pages/modules/transition/transition.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component } from "@angular/core";
22
import { SuiTransition, Transition, TransitionDirection, TransitionController } from "ng2-semantic-ui";
3-
import { ApiDefinition } from "app/components/api/api.component";
3+
import { ApiDefinition } from "../../../components/api/api.component";
44

55
const exampleStandardTemplate = `
66
<div class="ui segment">

demo/src/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
"types": [
2222
"prismjs"
2323
]
24-
}
24+
},
25+
"include": [
26+
"**/*.ts"
27+
]
2528
}

0 commit comments

Comments
 (0)