update docs

This commit is contained in:
Anton Lavrenov 2015-04-26 07:56:02 +07:00
parent b6068f069f
commit bb8704f68a

View File

@ -1378,6 +1378,7 @@
* @param {Number} [config.quality] jpeg quality. If using an "image/jpeg" mimeType,
* you can specify the quality from 0 to 1, where 0 is very poor quality and 1
* is very high quality
* @paremt {Number} [config.pixelRatio] pixelRatio of ouput image url.
* @returns {String}
*/
toDataURL: function(config) {
@ -1423,6 +1424,7 @@
* @param {Number} [config.quality] jpeg quality. If using an "image/jpeg" mimeType,
* you can specify the quality from 0 to 1, where 0 is very poor quality and 1
* is very high quality
* @paremt {Number} [config.pixelRatio] pixelRatio of ouput image.
* @example
* var image = node.toImage({
* callback: function(img) {