-
Notifications
You must be signed in to change notification settings - Fork 77
Update deprecated getters and setters #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hello Marius, Thanks for your support! As per the recent build release notes, it looks like the client* and offset* attributes has been converted to rects.
Can you make the necessary changes? Also, please update the AUTHORS file with your name Thanks. |
This reverts commit 71cb47e. Actually replaced the deprecated api with an internal implementation that is not the official way.
This reverts commit 9c1328a.
This reverts commit 996058c.
https://groups.google.com/a/dartlang.org/forum/#!msg/misc/bavhE6GlM7E/d6ifDYps7CcJ Element.client*, Element.offset* have become rects so the correct syntax is now Element.client.* and Element.offset.*
https://groups.google.com/a/dartlang.org/forum/#!msg/misc/bavhE6GlM7E/d6ifDYps7$ inputEvent.page* and inputEvent.offset* are now dperecated and use point instead. The correct usage is now inputEvent.page.* and inputEvent.offset.* respectively
https://groups.google.com/a/dartlang.org/forum/#!msg/misc/bavhE6GlM7E/d6ifDYps7$ List.getRange() has been deprecated and will be removed. The new usage is List.sublist(). The second paramter is now also a length rather than an ending index.
Hi Ali, Awesome library here! I wanted to thank you for you encouraging feedback and information - it makes me want to continue contributing to open-source projects. Best regards, |
Update deprecated getters and setters
Thanks! |
The Element abstract class had some changes made to it that deprecated the old way of calling getters and setters. The new way has a "$dom_" prefix.
This commit updates these calls for lib and for the IDE sample.