Files
yoga/javascript/src_js/entrypoint/_entryAsync.js

16 lines
364 B
JavaScript
Raw Normal View History

2022-12-22 03:06:42 -08:00
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
2022-12-24 00:25:02 -08:00
const wrapAsm = require('../wrapAsm');
2022-12-22 03:06:42 -08:00
2022-12-23 07:30:15 -08:00
module.exports = (loadAsm) => ({
2022-12-23 03:08:21 -08:00
loadYoga: () => loadAsm().then(wrapAsm),
2022-12-24 00:25:02 -08:00
...require('../generated/YGEnums'),
2022-12-23 07:30:15 -08:00
});