aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-04 19:44:41 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-04 19:44:41 +0900
commit88e81f4b3fc5286f45c7928130095f23cecd1c41 (patch)
treedd6e4cfee606bb40660a9d47158b96df60b6e478
parent8be254f99e881b769a2e6891cbc7d77f6e8b8a29 (diff)
downloadpoe-88e81f4b3fc5286f45c7928130095f23cecd1c41.tar.gz
frontend: angular2-polyfills.js の zone.js が古くてうまく動かないので自分で
-rw-r--r--frontend/Rakefile3
-rw-r--r--frontend/app/home.component.ts8
-rw-r--r--frontend/index.html3
3 files changed, 4 insertions, 10 deletions
diff --git a/frontend/Rakefile b/frontend/Rakefile
index 321d422..6625bd8 100644
--- a/frontend/Rakefile
+++ b/frontend/Rakefile
@@ -10,7 +10,8 @@ $destdir = ENV["DESTDIR"] || File.join($root, "target")
$deps = [
"node_modules/es6-shim/es6-shim.min.js",
- "node_modules/angular2/bundles/angular2-polyfills.js",
+ "node_modules/reflect-metadata/Reflect.js",
+ "node_modules/zone.js/dist/zone.min.js",
"node_modules/codemirror/lib/codemirror.css",
]
diff --git a/frontend/app/home.component.ts b/frontend/app/home.component.ts
index 503ca8c..86bf263 100644
--- a/frontend/app/home.component.ts
+++ b/frontend/app/home.component.ts
@@ -5,14 +5,6 @@ import {EditingData, EditingDataService} from "./editing-data.service";
@Component({
template: `
- <h1>ぽえってなに</h1>
- <p>同じコードを複数のバージョンの処理系で同時に実行できるオンラインコンパイラみたいなやつ</p>
- <h1>環境</h1>
- <ul>
- <li>OS: GNU/Linux x86_64</li>
- <li>メモリ制限: 128MB</li>
- <li>時間制限: 5 秒</li>
- </ul>
`,
})
export class HomeComponent {
diff --git a/frontend/index.html b/frontend/index.html
index 812c055..b5b0cfa 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -7,7 +7,8 @@
<link rel="stylesheet" href="dist/codemirror.css">
<link rel="stylesheet" href="poe.css">
<script src="dist/es6-shim.min.js"></script>
- <script src="dist/angular2-polyfills.js"></script>
+ <script src="dist/Reflect.js"></script>
+ <script src="dist/zone.min.js"></script>
</head>
<body>
<my-app>Loading...</my-app>