1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-29 20:21:14 +03:00

update some jsdoc with examples

This commit is contained in:
deepsweet
2012-09-30 01:17:59 +04:00
parent 3a7d4270b9
commit d4b0fe3546
2 changed files with 10 additions and 0 deletions

View File

@ -6,6 +6,11 @@ var regViewBox = /^0\s0\s(\d+)\s(\d+)$/,
*
* @see http://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute
*
* @example
* <svg width="100" height="50" viewBox="0 0 100 50">
* ⬇
* <svg width="100" height="50">
*
* @param {Object} item current iteration item
* @param {Object} params plugin params
* @return {Boolean} if false, item will be filtered out