Changeset 63885
- Timestamp:
- 09/23/2026 12:05:51 AM (8 weeks ago)
- File:
-
- 1 edited
-
trunk/Gruntfile.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r63883 r63885 965 965 expr: /content/im, 966 966 action: function( prop, value ) { 967 // Alternative text, as in `content: "\f141" / '';`, is not part of the icon. 968 var altText = ( value.match( /\s*\/\s*(?:'[^']*'|"[^"]*")\s*$/ ) || [ '' ] )[ 0 ]; 969 970 value = value.slice( 0, value.length - altText.length ); 971 967 972 if ( value === '"\\f141"' ) { // dashicons-arrow-left 968 973 value = '"\\f139"'; … … 978 983 value = '"\\f341"'; 979 984 } 980 return { prop: prop, value: value };985 return { prop: prop, value: value + altText }; 981 986 } 982 987 }
Note:
See TracChangeset
for help on using the changeset viewer.