Skip to content

Commit ef53a32

Browse files
committed
remove unecessary semicolons
1 parent 4339243 commit ef53a32

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/parse/path.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ function formatAccessor(key) {
211211
if (identRE.test(key)) { // identifier
212212
return '.' + key
213213
} else if (+key === key >>> 0) { // bracket index
214-
return '[' + key + ']';
214+
return '[' + key + ']'
215215
} else { // bracket string
216-
return '["' + key.replace(/"/g, '\\"') + '"]';
216+
return '["' + key.replace(/"/g, '\\"') + '"]'
217217
}
218218
}
219219

src/util/lang.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ var capitalCamelRE = /(?:^|[-_])(\w)/g
6969
exports.camelize = function (str, cap) {
7070
var RE = cap ? capitalCamelRE : camelRE
7171
return str.replace(RE, function (_, c) {
72-
return c ? c.toUpperCase () : '';
72+
return c ? c.toUpperCase () : ''
7373
})
7474
}
7575

0 commit comments

Comments
 (0)