From f91a513ee89c6a6a9a069444a4f4336d74b6e42c Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 25 Jun 2012 09:29:50 +0200 Subject: [PATCH] update documentation example --- examples/documentation/oxdoc_tutorial/js/example.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/documentation/oxdoc_tutorial/js/example.js b/examples/documentation/oxdoc_tutorial/js/example.js index 14595703..3369028b 100644 --- a/examples/documentation/oxdoc_tutorial/js/example.js +++ b/examples/documentation/oxdoc_tutorial/js/example.js @@ -108,7 +108,7 @@ My.favorite = (function() { }, keys = Object.keys(favorite); favorite.any = favorite[ - keys[Math.floor(+new Date / 86400) * keys.length] + keys[Math.floor(+new Date / 86400) % keys.length] ]; return favorite; }()); @@ -355,7 +355,7 @@ My.Box A very simple colored box self Shared private object ([options[, self]]) -> Box object change Fires when the color of the box changes - color Value between `0` and `255` + color <[n]> RGB value > My.Box({color: [0, 255, 0]}).getHSL() [120, 1, 0.5] > My.Box().setHSL(240, 1, 0.5).options('color') @@ -468,7 +468,7 @@ My.ExtendedBox = function(options, self) { }; /* -The last item will get added to the 'Objects' section. +The next item will get added to the 'Objects' section. */ //@ Objects