File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/tailwindcss/src/utils Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import { segment } from './segment'
33/**
44 * Parse a path string into an array of path segments
55 *
6- * Square bracket notation `a[b]` may be used to "escape" dots that would otherwise be interpreted as path separators.
6+ * Square bracket notation `a[b]` may be used to "escape" dots that would
7+ * otherwise be interpreted as path separators.
78 *
89 * Example:
910 * a -> ['a']
@@ -15,8 +16,6 @@ import { segment } from './segment'
1516 * @param {string } path
1617 **/
1718export function toKeyPath ( path : string ) {
18- // Handle `[]` blocks as segments in addition to `.` separators.
19- // This is used to extract floating point keys like `spacing[2.5]`.
2019 let keypath : string [ ] = [ ]
2120
2221 for ( let part of segment ( path , '.' ) ) {
You can’t perform that action at this time.
0 commit comments