backend v4 half
This commit is contained in:
Generated
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// Importing from a ".js" file is a workaround for Node.js "ES Modules"
|
||||
// importing system which is even uncapable of importing "*.json" files.
|
||||
import metadata from '../../metadata.mobile.json.js'
|
||||
|
||||
export default function withMetadataArgument(func, _arguments) {
|
||||
var args = Array.prototype.slice.call(_arguments)
|
||||
args.push(metadata)
|
||||
return func.apply(this, args)
|
||||
}
|
||||
Reference in New Issue
Block a user