remove getInstanceCount usages
Summary: This diffs removes the usages of getInstanceCount as it has been removed from yoga. We will add event support in js later to handle these test cases Reviewed By: davidaurelio Differential Revision: D16560269 fbshipit-source-id: 52590c426faf87209f8635602b401fd5760af8ab
This commit is contained in:
committed by
Facebook Github Bot
parent
8c270e68cc
commit
adff8d96dd
@@ -350,9 +350,6 @@ module.exports = (bind: any, lib: any): Yoga => {
|
||||
Layout: bind('Layout', Layout),
|
||||
Size: bind('Size', Size),
|
||||
Value: bind('Value', Value),
|
||||
getInstanceCount(...args) {
|
||||
return lib.getInstanceCount(...args);
|
||||
},
|
||||
...CONSTANTS,
|
||||
};
|
||||
};
|
||||
|
@@ -1,9 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the LICENSE
|
||||
* file in the root directory of this source tree.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
unsigned getInstanceCount(void);
|
@@ -11,14 +11,9 @@
|
||||
#include "./Size.hh"
|
||||
#include "./Value.hh"
|
||||
#include "./Config.hh"
|
||||
#include "./global.hh"
|
||||
|
||||
#include <nbind/nbind.h>
|
||||
|
||||
NBIND_GLOBAL() {
|
||||
function(getInstanceCount);
|
||||
}
|
||||
|
||||
NBIND_CLASS(Size) {
|
||||
construct<>();
|
||||
construct<double, double>();
|
||||
|
Reference in New Issue
Block a user