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:
@ -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
|
||||
|
Reference in New Issue
Block a user