mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
This commit is contained in:
parent
0ef6c72a9c
commit
b2a35d21d7
@ -48,5 +48,5 @@ export function serializeFunction (func) {
|
||||
.replace('function function', 'function')
|
||||
}
|
||||
|
||||
serializeFunction.internalFunctionRE = /^(\s*)(?!(?:if)|(?:for)|(?:while)|(?:switch))(\w+)\s*\((.*?)\)\s*\{/gm
|
||||
serializeFunction.internalFunctionRE = /^(\s*)(?!(?:if)|(?:for)|(?:while)|(?:switch)|(?:catch))(\w+)\s*\((.*?)\)\s*\{/gm
|
||||
serializeFunction.assignmentRE = /^(\s*):(\w+)\(/gm
|
||||
|
Loading…
Reference in New Issue
Block a user