mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
|
||||
// Init globals first
|
||||
import { initGlobal } from './globals';
|
||||
if (!(<any>global).hasInitGlobal) {
|
||||
initGlobal();
|
||||
}
|
||||
initGlobal();
|
||||
|
||||
// Export all interfaces from "application" module
|
||||
export { ApplicationEventData, LaunchEventData, OrientationChangedEventData, UnhandledErrorEventData, DiscardedErrorEventData, CssChangedEventData, LoadAppCSSEventData, iOSApplication, AndroidApplication, AndroidActivityEventData, AndroidActivityBundleEventData, AndroidActivityRequestPermissionsEventData, AndroidActivityResultEventData, AndroidActivityNewIntentEventData, AndroidActivityBackPressedEventData } from './application';
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"main": "index",
|
||||
"types": "index.d.ts",
|
||||
"description": "NativeScript Core Modules",
|
||||
"version": "7.0.0-rc.9",
|
||||
"version": "7.0.0-rc.11",
|
||||
"homepage": "https://www.nativescript.org",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -12,6 +12,7 @@
|
||||
"files": [
|
||||
"**/*.d.ts",
|
||||
"**/*.js",
|
||||
"**/*.map",
|
||||
"**/platforms/ios/**",
|
||||
"**/platforms/android/**",
|
||||
"**/package.json",
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
"noEmitHelpers": true,
|
||||
"target": "es5",
|
||||
"module": "commonjs",
|
||||
"declaration": false,
|
||||
"declaration": true,
|
||||
"noImplicitAny": false,
|
||||
"noImplicitUseStrict": true,
|
||||
"removeComments": true,
|
||||
"removeComments": false,
|
||||
"experimentalDecorators": true,
|
||||
"diagnostics": true,
|
||||
"sourceMap": true,
|
||||
|
||||
@@ -247,7 +247,7 @@ export abstract class ViewBase extends Observable implements ViewBaseDefinition
|
||||
public _suspendedUpdates: {
|
||||
[propertyName: string]: Property<ViewBase, any> | CssProperty<Style, any> | CssAnimationProperty<Style, any>;
|
||||
};
|
||||
public _suspendNativeUpdatesCount: SuspendType;
|
||||
public _suspendNativeUpdatesCount: number;
|
||||
public _isStyleScopeHost: boolean;
|
||||
public _automaticallyAdjustsScrollViewInsets: boolean;
|
||||
|
||||
|
||||
@@ -386,8 +386,8 @@ export class View extends ViewCommon implements ViewDefinition {
|
||||
this._suspendCATransaction = false;
|
||||
}
|
||||
|
||||
public _isPresentationLayerUpdateSuspeneded() {
|
||||
return this._suspendCATransaction || this._suspendNativeUpdatesCount;
|
||||
public _isPresentationLayerUpdateSuspeneded(): boolean {
|
||||
return this._suspendCATransaction || this._suspendNativeUpdatesCount > 0;
|
||||
}
|
||||
|
||||
protected _showNativeModalView(parent: View, options: ShowModalOptions) {
|
||||
|
||||
Reference in New Issue
Block a user