On 8/11/15, 5:22 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:
>> What is the advantage of doing it this way? > >My point in migrating the framework is also to figure out how a framework >developer would feel comfortable working with, using and developing new >component seeing how the others are developed, for example, even though >this class is emitted in JS only, it is now coded in AS, except of the >comments I added to this class which is a wrapper to the >goog.events.BrowserEvent, if he needs to use it, the developer will >probably look at the google doc too and I guess, expect to have as close >as possible the same API. > >Well, at least I did this assumption and was wondering if it wasn't to >much. Makes sense. I was just wondering why a MouseButton class is needed at all and not just a plain String constant. -Alex