From 79bea33e51d8c0ae4bab06f5926a3142442312b8 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 2 Jul 2012 13:28:42 +0200 Subject: [PATCH] Ox.Element: reformat docs --- source/Ox.UI/js/Core/Element.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index cb0d4387..f5edaaf9 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -339,18 +339,16 @@ Ox.Element = function(options, self) { /*@ options Gets or sets the options of an element object - # Usage - () -> All options - (key) -> <*> The value of option[key] - (key, value) -> This element + () -> All options + (key) -> <*> The value of option[key] + (key, value) -> This element Sets options[key] to value and calls update(key, value) if the key/value pair was added or modified - ({key: value, ...}) -> this element + ({key: value, ...}) -> This element Sets multiple options and calls update(key, value) for every key/value pair that was added or modified - # Arguments - key The name of the option - value <*> The value of the option + key The name of the option + value <*> The value of the option @*/ that.options = function() { return Ox.getset(self.options, arguments, update, that);