Changeset 48096
- Timestamp:
- 06/19/2020 10:06:28 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r48075 r48096 1032 1032 { 1033 1033 match: /\/\/ START: emoji arrays[\S\s]*\/\/ END: emoji arrays/g, 1034 replacement: function 1034 replacement: function() { 1035 1035 var regex, files, 1036 1036 partials, partialsSet, … … 1058 1058 1059 1059 // Sort the entities list by length, so the longest emoji will be found first. 1060 emojiArray = entities.split( '\n' ).sort( function 1060 emojiArray = entities.split( '\n' ).sort( function( a, b ) { 1061 1061 return b.length - a.length; 1062 1062 } ); … … 1098 1098 } 1099 1099 ] 1100 }, 1101 emojiBannerText: { 1102 options: { 1103 patterns: [ 1104 { 1105 match: new RegExp( '\\s*' + BANNER_TEXT.replace( /[\/\*\!]/g, '\\$&' ) ), 1106 replacement: '' 1107 } 1108 ] 1109 }, 1110 files: [ 1111 { 1112 expand: true, 1113 flatten: true, 1114 src: [ 1115 BUILD_DIR + 'wp-includes/formatting.php' 1116 ], 1117 dest: BUILD_DIR + 'wp-includes/' 1118 } 1119 ] 1100 1120 } 1101 1121 }, … … 1420 1440 'includes:emoji', 1421 1441 'includes:embed', 1442 'replace:emojiBannerText' 1422 1443 ] ); 1423 1444 }
Note: See TracChangeset
for help on using the changeset viewer.