Skip to content

Commit

Permalink
chore: fix example app for IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
bigopon committed May 10, 2020
1 parent 63bca86 commit 18875cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sample/demo-app/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel='stylesheet' href='static/css/bootstrap.min.css'>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="static/style.css">
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6,es7&flags=gated" crossorigin="anonymous"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=Promise&flags=gated" crossorigin="anonymous"></script>
<script src="https://cdn.rawgit.com/Marak/faker.js/master/build/build/faker.min.js" crossorigin="anonymous"></script>
</head>
<body>
Expand Down
5 changes: 3 additions & 2 deletions sample/demo-app/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'aurelia-polyfills';
import { Aurelia, PLATFORM } from 'aurelia-framework';

declare const PRODUCTION: boolean;
Expand All @@ -11,13 +12,13 @@ export async function configure(aurelia: Aurelia) {
class {
static $resource = {
type: 'valueConverter',
name: 'identity'
name: 'identity',
};

toView(val: any) {
return val;
}
}
},
] as any[]);

if (!PRODUCTION) {
Expand Down

0 comments on commit 18875cd

Please sign in to comment.