Category archives: JavaScript

JavaScript

Easily generate documentation of your projects with JavaScript YUIDoc

YUIDoc is one of the best solutions to easily generate documentation for your projects JavaScript.

The syntax is nice and clear and allows easily documenting your JavaScript files.

Here is a small example to document a method of a JavaScript class (code taken from the YUIDoc website).


/**
* My method description. Like other pieces of your comment blocks,
* this can span multiple lines.
*
* @method methodName
* @param {String} foo Argument 1
* @param {Object} config A config object
* @param {String} config.name The name on the config object
* @param {Function} config.callback A callback function on the config object
* @param {Boolean} [extra=false ...

Continue reading

Photobooth.js : New JavaScript framework to use the webcam with HTML5

Photobooth.js : New JavaScript framework to use the webcam with HTML5

Photobooth is a new JavaScript framework to integrate in a website fairly easily making a webcam photo exploiting the latest HTML5 API "WebRTC" W3C.

Sites: Photobooth.js website | Demo | Repository

Continue reading