Skip to content

Commit

Permalink
Merge pull request #32 from ryzy/aot
Browse files Browse the repository at this point in the history
AoT compatibility, CI setup
  • Loading branch information
Pauan committed Apr 28, 2017
2 parents e708364 + cbc8930 commit 70ac24e
Show file tree
Hide file tree
Showing 9 changed files with 377 additions and 270 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
/node_modules
.idea
15 changes: 15 additions & 0 deletions circle.yml
@@ -0,0 +1,15 @@
machine:
node:
version: 6.10.2

dependencies:
override:
- yarn install

test:
override:
- yarn build

# Temporary, until we have automated build and package publishing process.
# If there are any not committed git changes, it probably means commit author forgot doing `yarn build` and commit the build artifacts.
- git diff --exit-code || ( echo -e "\nThere are some changes in git.\nDid you forgot doing `yarn build` and commit compiled files?" && false )
23 changes: 23 additions & 0 deletions index.d.ts
@@ -0,0 +1,23 @@
import { ElementRef, SimpleChange, NgZone } from "@angular/core";
export declare class AmChartsDirective {
private _zone;
private el;
private chart;
id: string;
options: any;
constructor(el: ElementRef, _zone: NgZone);
ngOnChanges(x: {
options: SimpleChange;
}): void;
ngOnInit(): void;
ngOnDestroy(): void;
}
export declare class AmChartsService {
private zone;
constructor(zone: NgZone);
makeChart(...a: any[]): any;
updateChart(chart: any, fn: () => void): void;
destroyChart(chart: any): void;
}
export declare class AmChartsModule {
}

0 comments on commit 70ac24e

Please sign in to comment.