Match xplat/yoga/javascript
prettier conventions
Summary: Match Prettier config to match other Meta OSS projects Didn't update the test generator to use this form yet. Reviewed By: yungsters Differential Revision: D45570415 fbshipit-source-id: d5fd791b047debf41c28aecac75fb8dde16da3e3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0cb4a49d38
commit
0a6a581936
@@ -7,9 +7,9 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
const wrapAsm = require("../wrapAsm");
|
||||
const wrapAsm = require('../wrapAsm');
|
||||
|
||||
module.exports = (loadAsm) => ({
|
||||
module.exports = loadAsm => ({
|
||||
loadYoga: () => loadAsm().then(wrapAsm),
|
||||
...require("../generated/YGEnums"),
|
||||
...require('../generated/YGEnums'),
|
||||
});
|
||||
|
@@ -7,5 +7,5 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
const wrapAsm = require("../wrapAsm");
|
||||
module.exports = (asm) => wrapAsm(asm());
|
||||
const wrapAsm = require('../wrapAsm');
|
||||
module.exports = asm => wrapAsm(asm());
|
||||
|
@@ -7,5 +7,5 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
const asm = require("../build/asmjs-async");
|
||||
module.exports = require("./_entryAsync")(asm);
|
||||
const asm = require('../build/asmjs-async');
|
||||
module.exports = require('./_entryAsync')(asm);
|
||||
|
@@ -7,5 +7,5 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
const asm = require("../build/asmjs-sync");
|
||||
module.exports = require("./_entrySync")(asm);
|
||||
const asm = require('../build/asmjs-sync');
|
||||
module.exports = require('./_entrySync')(asm);
|
||||
|
@@ -7,5 +7,5 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
const asm = require("../build/wasm-async");
|
||||
module.exports = require("./_entryAsync")(asm);
|
||||
const asm = require('../build/wasm-async');
|
||||
module.exports = require('./_entryAsync')(asm);
|
||||
|
@@ -7,5 +7,5 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
const asm = require("../build/wasm-sync");
|
||||
module.exports = require("./_entrySync")(asm);
|
||||
const asm = require('../build/wasm-sync');
|
||||
module.exports = require('./_entrySync')(asm);
|
||||
|
Reference in New Issue
Block a user