Skip to content

Commit

Permalink
VadimDez#20 fixes for AoT
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimDez committed Nov 1, 2016
1 parent b6b1cb2 commit cfb3861
Show file tree
Hide file tree
Showing 790 changed files with 2,292 additions and 12,566 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea/
node_modules/
aot/
4 changes: 1 addition & 3 deletions SYSTEMJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Append to ```map```

```js
var map = {
...
'ng2-pdf-viewer': 'node_modules/ng2-pdf-viewer',
'pdfjs-dist': 'node_modules/pdfjs-dist'
}
Expand All @@ -14,8 +13,7 @@ and then add to ```packages```

```js
var packages = {
...
'ng2-pdf-viewer': { main: 'dist/pdf-viewer.component.min.js', defaultExtension: 'js' },
'ng2-pdf-viewer': { main: 'dist/index.js', defaultExtension: 'js' },
'pdfjs-dist': { defaultExtension: 'js' }
}
```
2 changes: 2 additions & 0 deletions build/app.module.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare class AppModule {
}
22 changes: 22 additions & 0 deletions build/app.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/app.module.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/app.module.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"__symbolic":"module","version":1,"metadata":{"AppModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule"},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule"}],"declarations":[{"__symbolic":"reference","module":"./app/mdl","name":"MDL"},{"__symbolic":"reference","module":"./app/app.component","name":"AppComponent"},{"__symbolic":"reference","module":"./pdf-viewer/index","name":"PdfViewerComponent"}],"bootstrap":[{"__symbolic":"reference","module":"./app/app.component","name":"AppComponent"}]}]}]}}}
12 changes: 12 additions & 0 deletions build/app/app.component.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export declare class AppComponent {
pdfSrc: string;
page: number;
zoom: number;
originalSize: boolean;
showAll: boolean;
pdf: any;
constructor();
incrementPage(amount: number): void;
incrementZoom(amount: number): void;
onLoadComplete(pdf: any): void;
}
29 changes: 10 additions & 19 deletions build/app/app.component.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/app/app.component.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/app/app.component.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"__symbolic":"module","version":1,"metadata":{"AppComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"pdf-viewer-app","templateUrl":"./app.component.html","styleUrls":["./app.component.css"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"incrementPage":[{"__symbolic":"method"}],"incrementZoom":[{"__symbolic":"method"}],"onLoadComplete":[{"__symbolic":"method"}]}}}}
45 changes: 0 additions & 45 deletions build/app/build/lib/rxjs/src/AsyncSubject.js

This file was deleted.

1 change: 0 additions & 1 deletion build/app/build/lib/rxjs/src/AsyncSubject.js.map

This file was deleted.

46 changes: 0 additions & 46 deletions build/app/build/lib/rxjs/src/BehaviorSubject.js

This file was deleted.

1 change: 0 additions & 1 deletion build/app/build/lib/rxjs/src/BehaviorSubject.js.map

This file was deleted.

31 changes: 0 additions & 31 deletions build/app/build/lib/rxjs/src/InnerSubscriber.js

This file was deleted.

1 change: 0 additions & 1 deletion build/app/build/lib/rxjs/src/InnerSubscriber.js.map

This file was deleted.

31 changes: 0 additions & 31 deletions build/app/build/lib/rxjs/src/MiscJSDoc.js

This file was deleted.

1 change: 0 additions & 1 deletion build/app/build/lib/rxjs/src/MiscJSDoc.js.map

This file was deleted.

Loading

0 comments on commit cfb3861

Please sign in to comment.