diff --git a/examples/documentation/oxdoc_tutorial/js/example.js b/examples/documentation/oxdoc_tutorial/js/example.js index 31c67cb8..14595703 100644 --- a/examples/documentation/oxdoc_tutorial/js/example.js +++ b/examples/documentation/oxdoc_tutorial/js/example.js @@ -174,9 +174,9 @@ just a special case of `name summary`, where `name` has the form If an item can be of more than one type (in this case `string` or `function`), this is documented as ``. If it has a default value (in this case the -string `'GET'`), this is documented as ``. For a `function`-type -argument (usually a callback function), there is no return value to document, -only the arguments it gets passed. +string `'GET'`), this is documented as ``. For a function-type argument +(usually a callback function), there is no return value to document, only the +arguments it gets passed. */ /*@ My.readURL Asynchronously reads a remote resource @@ -299,8 +299,8 @@ My.localStorage Returns a localStorage handler for a given namespace 'baz' > My.test.storage.delete('bar')('foo') 'bar' - > Object.keys(My.test.storage()) - ['foo'] + > My.test.storage.delete()() + {} */ My.localStorage = function(ns) { function storage(key, value) { @@ -598,7 +598,7 @@ Ox.SyntaxHighlighter and Ox.DocPanel, and they'll do the rest. */ Ox.load('UI', function() { var file = 'example.js', - path = Ox.PATH + '../examples/documentation/oxdoc/js/'; + path = Ox.PATH + '../examples/documentation/oxdoc_tutorial/js/'; Ox.get(path + file, function(source) { Ox.TabPanel({ content: function(id) {