From b8f88958da89ffafef1460c3ffcb2ed9d9f09fe4 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 5 Jul 2012 19:47:57 +0200 Subject: [PATCH] cleanup documentation --- source/Ox/js/DOM.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/source/Ox/js/DOM.js b/source/Ox/js/DOM.js index bb0efb18..12c6e47a 100644 --- a/source/Ox/js/DOM.js +++ b/source/Ox/js/DOM.js @@ -288,18 +288,14 @@ Ox.$ = Ox.element = function(value) { /*@ Ox.canvas Generic canvas object - # Description -------------------------------------------------------------- Returns an object with the properties: `canvas`, `context`, `data` and `imageData`. - # Usage -------------------------------------------------------------------- - Ox.canvas(width, height) -> canvas - Ox.canvas(image) -> canvas - # Arguments ---------------------------------------------------------------- - width Width in px + (width, height) -> canvas + (image) -> canvas + width Width in px height Height in px - image Image object + image Image object @*/ - Ox.canvas = function() { var c = {}, isImage = arguments.length == 1, image = isImage ? arguments[0] : {