Files
yoga/javascript/sources/index.wasm.js

17 lines
377 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-23 02:43:45 -08:00
const wrapAsm = require('./wrapAsm');
2022-12-23 03:08:21 -08:00
const loadAsm = require('./wasm-async');
2022-12-22 03:06:42 -08:00
2022-12-23 00:43:57 -08:00
module.exports = {
2022-12-23 03:08:21 -08:00
loadYoga: () => loadAsm().then(wrapAsm),
2022-12-23 02:43:45 -08:00
...require('./YGEnums'),
2022-12-23 00:43:57 -08:00
}