Commit a1b3b04
committed
Refactor compileETag function for clarity
- Simplified logic by removing unnecessary variable assignments.
- Streamlined the switch statement to directly return the appropriate ETag function.
- Updated JSDoc comments for consistency and clarity.
- Removed redundant handling of false, returning undefined directly.1 parent b31910c commit a1b3b04
1 file changed
+10
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | | - | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
116 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 122 | + | |
124 | 123 | | |
125 | | - | |
126 | | - | |
| 124 | + | |
127 | 125 | | |
128 | | - | |
| 126 | + | |
129 | 127 | | |
130 | | - | |
131 | | - | |
132 | 128 | | |
133 | 129 | | |
134 | 130 | | |
| |||
0 commit comments