mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
This commit is contained in:
@ -6,13 +6,11 @@ import { getNodeById } from './dom-node';
|
||||
import { mainThreadify } from '../utils';
|
||||
|
||||
// Use lazy requires for core modules
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const getAppRootView = () => require('../application').getRootView();
|
||||
|
||||
let unsetValue;
|
||||
function unsetViewValue(view, name) {
|
||||
if (!unsetValue) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
unsetValue = require('../ui/core/properties').unsetValue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user