Release version 1.9.0
Summary: - Fixes bindings - Fixes benchmarks and test calls - version 1.9.0 Reviewed By: arcanis, priteshrnandgaonkar Differential Revision: D6759438 fbshipit-source-id: 0ea58e607e0b518aaa907cbfa82d2baea7bc1ed5
This commit is contained in:
committed by
Facebook Github Bot
parent
7b27a58b97
commit
42778f687b
@@ -172,4 +172,4 @@ export type Yoga$PositionType =
|
||||
|
||||
export type Yoga$ExperimentalFeature = typeof CONSTANTS.EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS;
|
||||
|
||||
export default CONSTANTS;
|
||||
module.exports = CONSTANTS;
|
||||
|
@@ -10,8 +10,7 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
import Yoga from './entry-common';
|
||||
|
||||
const Yoga = require('./entry-common');
|
||||
const nbind = require('../build/Release/nbind.js');
|
||||
|
||||
let ran = false;
|
||||
|
@@ -10,7 +10,7 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
import CONSTANTS from './YGEnums';
|
||||
const CONSTANTS = require('./YGEnums');
|
||||
import type {
|
||||
Yoga$Edge,
|
||||
Yoga$FlexWrap,
|
||||
@@ -230,7 +230,7 @@ type Yoga = {
|
||||
...typeof CONSTANTS,
|
||||
};
|
||||
|
||||
export default (bind: any, lib: any): Yoga => {
|
||||
module.exports = (bind: any, lib: any): Yoga => {
|
||||
function patch(prototype, name, fn) {
|
||||
let original = prototype[name];
|
||||
|
||||
|
@@ -10,7 +10,7 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
import Yoga from './entry-common';
|
||||
const Yoga = require('./entry-common');
|
||||
const nbind = require('nbind');
|
||||
const {bind, lib} = nbind.init(__dirname + '/../');
|
||||
module.exports = Yoga(bind, lib);
|
||||
|
Reference in New Issue
Block a user