File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,9 +56,12 @@ module.exports = {
5656 /**
5757 * Internal
5858 *
59- * Selector for property name.
60- * @param {node } item
61- * @returns {String|false|undefined }
59+ * Return property name.
60+ * e.g.
61+ * for:'color: #fff'
62+ * returns string: 'color'
63+ * @param {node } node
64+ * @returns {String|undefined }
6265 */
6366 _getDeclName : function ( node ) {
6467 if ( node [ 0 ] !== 'declaration' ) return ;
@@ -68,9 +71,14 @@ module.exports = {
6871 /**
6972 * Internal
7073 *
71- * Selector for value name.
72- * @param {node } item
73- * @returns {String|false|undefined }
74+ * Return for value name.
75+ * e.g.
76+ * for: '-webkit-transition: -webkit-transform 150ms linear'
77+ * returns string: '-webkit-transform', and
78+ * for: 'background: -webkit-linear-gradient(...)'
79+ * returns string: '-webkit-linear-gradient'
80+ * @param {node }node
81+ * @returns {String|undefined }
7482 */
7583 _getValName : function ( node ) {
7684 if ( node [ 0 ] !== 'declaration' || ! node [ 2 ] || ! node [ 2 ] [ 2 ] )
You can’t perform that action at this time.
0 commit comments