From 9b1f50fefe021578113b8f5935084fe4fed110b2 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Tue, 31 Jan 2017 00:49:26 -0600 Subject: Add Comments (#4) * Preserve whitespace in posts * Create comments handler * Use comments handler * Update paw * Add comment components * Style comments * Remove unnecessary code from app * Fix linter warning * Add key to handle children (thx @javierbyte) * Add toggling to the form * Return all keys always * Correct missing semicolons * Restore redirect * Render posts conditionally * Set poll time to 1s * Set post frequency to 2s * Add polling to comments * Correct typo in error logging * Clear intervals and reduce polling * Stops polling if it's being destroyed * Update changelog --- app/dasein.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'app/dasein.js') diff --git a/app/dasein.js b/app/dasein.js index 6b3fd95..699a01f 100644 --- a/app/dasein.js +++ b/app/dasein.js @@ -22,13 +22,6 @@ export default internals.Dasein = { this.vm = new Vue({ router: this._setupRouter(), el: '#dasein', - components: { - login: LoginComponent, - welcome: WelcomeComponent - }, - data: { - message: 'Hello Vue!' - }, methods: { authenticated() { -- cgit