update widget documentation (arguments first)

This commit is contained in:
rolux 2012-07-04 13:29:18 +02:00
commit a0867f0da6
81 changed files with 250 additions and 251 deletions

View file

@ -2,11 +2,6 @@
/*@
Ox.MapEditor <f> Map Editor
([options[, self]]) -> <o:Ox.SplitPanel> Map Editor
addplace <!> addplace
removeplace <!> removeplace
geocode <!> geocode
loadlist <!> loadlist
options <o> Options object
height <n|256> Height in px
labels <b|false> If true, show labels
@ -15,6 +10,11 @@ Ox.MapEditor <f> Map Editor
selected <s|''> Id of the selected place
width <n|256> Width in px
self <o> Shared private variable
([options[, self]]) -> <o:Ox.SplitPanel> Map Editor
addplace <!> addplace
removeplace <!> removeplace
geocode <!> geocode
loadlist <!> loadlist
@*/
Ox.MapEditor = function(options, self) {

View file

@ -2,13 +2,13 @@
/*@
Ox.MapImage <f> MapImage Object
([options[, self]]) -> <o:Ox.Element> MapImage Object
options <o> Options object
height <n|360> image height (px)
place <o|null> Object with south, west, north and east properties
type <s|satellite> map type ('hybrid', 'roadmap', 'satellite', 'terrain')
width <n|640> image width (px)
self <o> shared private variable
([options[, self]]) -> <o:Ox.Element> MapImage Object
@*/
Ox.MapImage = function(options, self) {