Changeset 36935
- Timestamp:
- 03/10/2016 04:00:11 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
Gruntfile.js (modified) (2 diffs)
-
package.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r36930 r36935 211 211 options: { 212 212 // rtlcss options 213 config: { 214 swapLeftRightInUrl: false, 215 swapLtrRtlInUrl: false, 216 autoRename: false, 217 preserveDirectives: true, 213 opts: { 214 clean: false, 215 processUrls: { atrule: true, decl: false }, 218 216 stringMap: [ 219 217 { 220 218 name: 'import-rtl-stylesheet', 219 priority: 10, 220 exclusive: true, 221 221 search: [ '.css' ], 222 222 replace: [ '-rtl.css' ], … … 228 228 ] 229 229 }, 230 properties : [ 230 saveUnmodified: false, 231 plugins: [ 231 232 { 232 233 name: 'swap-dashicons-left-right-arrows', 233 expr: /content/im, 234 action: function( prop, value ) { 235 if ( value === '"\\f141"' ) { // dashicons-arrow-left 236 value = '"\\f139"'; 237 } else if ( value === '"\\f340"' ) { // dashicons-arrow-left-alt 238 value = '"\\f344"'; 239 } else if ( value === '"\\f341"' ) { // dashicons-arrow-left-alt2 240 value = '"\\f345"'; 241 } else if ( value === '"\\f139"' ) { // dashicons-arrow-right 242 value = '"\\f141"'; 243 } else if ( value === '"\\f344"' ) { // dashicons-arrow-right-alt 244 value = '"\\f340"'; 245 } else if ( value === '"\\f345"' ) { // dashicons-arrow-right-alt2 246 value = '"\\f341"'; 234 priority: 10, 235 directives: { 236 control: {}, 237 value: [] 238 }, 239 processors: [ 240 { 241 expr: /content/im, 242 action: function( prop, value ) { 243 if ( value === '"\\f141"' ) { // dashicons-arrow-left 244 value = '"\\f139"'; 245 } else if ( value === '"\\f340"' ) { // dashicons-arrow-left-alt 246 value = '"\\f344"'; 247 } else if ( value === '"\\f341"' ) { // dashicons-arrow-left-alt2 248 value = '"\\f345"'; 249 } else if ( value === '"\\f139"' ) { // dashicons-arrow-right 250 value = '"\\f141"'; 251 } else if ( value === '"\\f344"' ) { // dashicons-arrow-right-alt 252 value = '"\\f340"'; 253 } else if ( value === '"\\f345"' ) { // dashicons-arrow-right-alt2 254 value = '"\\f341"'; 255 } 256 return { prop: prop, value: value }; 257 } 247 258 } 248 return { prop: prop, value: value }; 249 } 250 } 251 ], 252 saveUnmodified: false 259 ] 260 } 261 ] 253 262 }, 254 263 core: { -
trunk/package.json
r36906 r36935 29 29 "grunt-patch-wordpress": "~0.3.0", 30 30 "grunt-postcss": "~0.7.1", 31 "grunt-rtlcss": "~ 1.6.0",31 "grunt-rtlcss": "~2.0.1", 32 32 "grunt-sass": "~1.1.0", 33 33 "matchdep": "~1.0.0"
Note: See TracChangeset
for help on using the changeset viewer.