mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"license": "SEE LICENSE IN <your-license-filename>",
|
||||
"repository": "<fill-your-repository-here>",
|
||||
"dependencies": {
|
||||
"@nativescript/core": "file:../../dist/nativescript-core-7.0.0-rc.9.tgz"
|
||||
"@nativescript/core": "file:../../dist/nativescript-core-7.0.0-rc.11.tgz"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testdeck/mocha": "0.0.6",
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "NativeScript",
|
||||
"description": "NativeScript Core Modules",
|
||||
"homepage": "https://nativescript.org",
|
||||
"version": "7.0.0-rc.9",
|
||||
"version": "7.0.0-rc.11",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/NativeScript/NativeScript"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"clean": "npx rimraf hooks node_modules platforms package-lock.json && npm i"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nativescript/core": "file:../dist/nativescript-core-7.0.0-rc.9.tgz"
|
||||
"@nativescript/core": "file:../dist/nativescript-core-7.0.0-rc.11.tgz"
|
||||
},
|
||||
"devDependencies": {
|
||||
"circular-dependency-plugin": "~5.2.0",
|
||||
|
||||
Reference in New Issue
Block a user