**** BEGIN LOGGING AT Fri Jul 10 02:59:58 2015 Jul 10 15:06:53 anyone out there? Jul 10 15:07:01 quick question on emit events Jul 10 15:07:59 ask away Jul 10 15:08:40 https://www.irccloud.com/pastebin/F3se2ojo/ Jul 10 15:08:53 (that's in collection, i added the console.log) Jul 10 15:09:15 basically i want to set a dirty flag if any of the models' attributes have changed Jul 10 15:09:39 i see that that change event is emitted Jul 10 15:09:49 but how do i have my collection respond to that? Jul 10 15:10:01 i tried handler with "change" as well as "onChange" but no luck Jul 10 15:10:22 responding to the model's change event? Jul 10 15:11:04 yes but in the collection Jul 10 15:11:51 that is, a collection owns a set of models. if any of the model's values change, then i want the collection to do something. Jul 10 15:12:14 i see the collction is emitting a change event Jul 10 15:12:23 but how do i capture and respond to it Jul 10 15:15:18 yea, events that are emitted are different from bubbled events Jul 10 15:15:23 you need to add a listener Jul 10 15:16:05 in the collection itself? Jul 10 15:16:58 in older version of enyo, collection had a "recordChanged" method that i could use :( Jul 10 15:17:21 Cage1___: http://enyojs.com/docs/latest/#/kind/enyo.Collection:on Jul 10 15:19:12 I don't know if there is a way to define the listeners in the class definition, but if you use on() to add the listener in create(), then that should work just as well Jul 10 15:20:41 awesome Jul 10 15:20:48 i added to constructor of collection and it's working! Jul 10 15:20:55 :) Jul 10 15:24:57 thanks much! you're a life save! Jul 10 15:24:58 saver Jul 10 15:31:11 yw Jul 10 17:39:13 morning Zectbumo Jul 10 17:39:23 good morning Jul 10 19:09:46 hmm i'm getting error message "this.$.animator.complete is not a function" ... i've overloaded indexChanged in my derivative of Panel Jul 10 19:10:00 any thoughts on why that might be happening? Jul 10 19:14:48 seems to be happening when i destroy a set of panels and then recreate them... Jul 10 19:14:54 it's like they never got destroyed... Jul 10 19:15:06 only getting this now that i went to 2.5 from 2.3 Jul 10 19:35:23 Cage1___: did you remember to call the super? Jul 10 19:36:36 well i'm doing the this.inherited(arguments) thing Jul 10 19:37:48 i've traced it back to where indexChanged in enyo Panels thinks ( this.$.animator.isAnimating()==true)... Jul 10 19:44:10 if i remember correctly, there was some change where views dont actually get destroyed but just get a flag marking them destroyed? Jul 10 19:55:35 views and panels aren't related, tho' Jul 10 19:55:53 also, I haven't heard of that change (although I don't really follow the commits to the repo) Jul 10 20:02:12 i meant kinds :) Jul 10 20:08:39 hmmm. i'm looking through Animator source and there theres no function called "complete" even though Panels tries to call it???? bug??? Jul 10 20:13:40 possibly **** ENDING LOGGING AT Sat Jul 11 02:59:59 2015