tag:blogger.com,1999:blog-581197352358126527.post7149094997598985711..comments2024-03-29T03:21:30.339-07:00Comments on japh(r) by Chris Strom: Custom Events in DartAnonymoushttp://www.blogger.com/profile/00135361916531185929noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-581197352358126527.post-18804716120729185312012-10-28T17:16:41.753-07:002012-10-28T17:16:41.753-07:00It's crazy. We just put out an update two mont...It's crazy. We just put out an update two months ago and it's already out of date! Darn those Dart folks and their amazing productivity :P<br /><br />Are you getting these errors when working through the book or this post? If the book, can you let me know the page in PDF and the edition?<br /><br />Anyhow, the `no such type "CollectionEvents"` error is most likely because you need to define that class. It is defined above, so if you copy that, it should work.<br /><br />The responseText error may be related to the change from XMLHttpRequest to HttpRequest:<br />http://news.dartlang.org/2012/08/breaking-change-xmlhttprequest-becomes.html.<br /><br />I'm working through the changes for M1 now though: http://japhr.blogspot.com/search/label/dartlang. Hopefully we'll get in sync with M1 shortly.Anonymoushttps://www.blogger.com/profile/00135361916531185929noreply@blogger.comtag:blogger.com,1999:blog-581197352358126527.post-56779414164104816242012-10-28T15:03:11.662-07:002012-10-28T15:03:11.662-07:00I bought your book last week and working through b...I bought your book last week and working through building the ComicsCollection class.<br /><br />I knew that the book may be slightly outdated with the language when I bought it, but thought I'd be able to figure out the differences.<br /><br />There are two places where I'm a bit stuck right now, which I'm sure in time I'll figure out, but maybe you can point me in the right direction.<br /><br />Firstly: ``no such type "CollectionEvents"``<br />Secondly: ``responseText is not a member of EventTarget``<br /><br />Thanks :)Anonymoushttps://www.blogger.com/profile/00247962146797414930noreply@blogger.com