15815213711
2024-08-26 67b8b6731811983447e053d4396b3708c14dfe3c
1
2
3
4
5
6
7
8
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)
}