You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/09/16 16:01:25 UTC
[whimsy] 01/01: rough in change from react to vue
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch agenda_on_vue
in repository https://gitbox.apache.org/repos/asf/whimsy.git
commit 3ced424d69074504b7d67feb22b444fb68d8083b
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat Sep 16 11:30:37 2017 -0400
rough in change from react to vue
---
www/board/agenda/views/vue-config.js.rb | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/www/board/agenda/views/vue-config.js.rb b/www/board/agenda/views/vue-config.js.rb
new file mode 100644
index 0000000..bdcce94
--- /dev/null
+++ b/www/board/agenda/views/vue-config.js.rb
@@ -0,0 +1,8 @@
+# Filter out "data property already declared as a prop" warnings
+Vue.config.warnHandler = proc do |msg, vm, trace|
+ return if msg =~ /^The data property "\w+" is already declared as a prop\./
+ console.error "[Vue warn]: " + msg + trace if defined? console
+end
+
+# reraise errors to enable easier debugging
+Vue.config.errorHandler = proc {|err, vm, info| raise err}
--
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.