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/23 20:01:30 UTC

[whimsy] 01/03: forgot to commit the file

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit 14d26ab71a0b8ff0959192b92fd58729018b5c68
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat Sep 23 15:56:03 2017 -0400

    forgot to commit the file
---
 www/test/icla/views/vue-config.js.rb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/www/test/icla/views/vue-config.js.rb b/www/test/icla/views/vue-config.js.rb
new file mode 100644
index 0000000..bdcce94
--- /dev/null
+++ b/www/test/icla/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>.