Upcoming Change: Old getter/setter/event names to be deprecated by end of October

瀏覽次數:49 次
跳到第一則未讀訊息

Dann (Google Employee)

未讀,
2009年9月18日 下午3:30:302009/9/18
收件者:Google Maps JS API v3 Notify
Hey everyone,

In our last release, you probably noticed a big syntactical change
against all get/set/event names in the API. If you missed the
announcement, see the release post here:

http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/813ddea230c2b569/a6793c4827ebca58

Once again the details of the syntax changes are listed below.

Setters: set_funBoat() ==> setFunBoat()
Getters: get_funBoat() ==> getFunBoat()
Events: funBoat_changed ==> funboat_changed

We've left the old syntax in place to maintain backwards
compatibility. However, please take note we'll be officially
deprecating the old syntax names by October 31st. In other words,
they will no longer be supported and will permanently be removed from
the API.

***IMPORTANT***
If you haven't already updated your map applications to use the new
syntax, please do so now! We certainly would hate it if your
application broke as a result come November. Five minutes (if even
that) of searching and replacing is all it takes.

http://code.google.com/apis/maps/documentation/v3/reference.html


If you have any questions, please do express them here.

Thanks!

Dann
回覆所有人
回覆作者
轉寄
0 則新訊息