Brad Peabody

Results 200 comments of Brad Peabody

> Is it safe to grab a reference to the EventEnv in vuguSetup() Yes, this is safe and is one of the intended uses. There is no inherent issue with...

Thanks for writing this up and I agree it would be excellent to get this aspect fixed up in Vugu. In response to your points: > Vugu won't allow a...

What you're describing can definitely work and I've done similar things before. Here's a working example of dynamically inserting (and thus executing) JS on a page: https://play.vugu.org/?p=H4sIAAAAAAAC_5STwW7bMBBEz-ZXbPcisnCpnFvZaJoEAQo0LZp8QBhyIzOlSEFaGTaC_ntByU7tOIf2JAmaNzsjrirn10shZtXDwJwifLbB218LtPrcuVvb-ZYlrSmywuUd9VyVk3ApRFVObNWPMuBtSws0bRu8NexTLDcf6oRLIXzTpo4BQ6pRiKyDnykx9NwNluFZ_BbicYgWpIX3-Y2CV9NhPdSDvvz-7WrMAs9iFlKtf3Q-8qPEy200jbcmhC3Yjgz7WEOfGoKvt6iEmJUlrE0HKzIOFuCSHRqKrGviq0D5tv-yvTP1jWlIFllVKO2ZGnmmPonZiH1cwFOvr0N6MEEqfU0scW-ESl-YECS-ZYhzwOzwIsrGOIcz9ZJr9wUPko0taOcli0lQ5DA77T_FOXLJOSYYp8nTg-6Jz5k7_zAwySKfTjGHgmnD5ZNZm5PRO-9DLFtncLweg_i3pU2OTjve0YZvkiNZmEAdS1xRCOkdqkKJ2Yj8R9W9Gc7h_pXd_VFp07YU3cXKByfzkJN6BwKcj9EnPp_kET1R-zV5k95JxPHSmui01uBSJFT5F6jKSbj8EwAA__-q4HfVlQMAAA%3D%3D > What is...

Yeah this is mostly a documentation problem. I'm working on some things that I hope will improve the situation a lot. Meanwhile what you're looking for should be, for the...

More like: root.vugu: ``` type Root struct { Body vugu.Builder } ``` signup.vugu ``` ``` And then following the router doc you do something like: `root.Body = &Signup{}` inside of...

I think it would be more productive to instead see about running the generated output through `goimports`. This would solve the problem for this package and others.

Not sure off the top of my head. I can comment more if I see a code snippet that demonstrates the issue.

> I believe the issue is because bootstrap is changing the HTML, but when it re-renders, the changed HTML is not preserved. This is definitely possible. If you know what...

Unfortunately there is currently not a good solution for this. Vugu expects to be able to control the DOM itself and does not have a way to know that certain...

I am obviously, as its author, biased toward Vugu, and while I in no way intend to throw shade on the work of others, I can tell you things about...