Publish version 0.3.8

This commit is contained in:
pengfei.zhou
2020-03-14 10:57:04 +08:00
committed by osborn
parent 98c7d59a70
commit a2e3dea675
8 changed files with 18 additions and 6 deletions

6
doric-js/index.d.ts vendored
View File

@@ -51,7 +51,13 @@ declare module 'doric/lib/src/runtime/global' {
screenWidth: number;
screenHeight: number;
statusBarHeight: number;
/**
* ex:Apple or Google
*/
deviceBrand: string;
/**
* ex: iPhone12,5 or pixel 3
*/
deviceModel: string;
[index: string]: number | string | boolean | object | undefined;
};

View File

@@ -37,7 +37,13 @@ declare global {
screenWidth: number;
screenHeight: number;
statusBarHeight: number;
/**
* ex:Apple or Google
*/
deviceBrand: string;
/**
* ex: iPhone12,5 or pixel 3
*/
deviceModel: string;
[index: string]: number | string | boolean | object | undefined;
};

View File

@@ -1,6 +1,6 @@
{
"name": "doric",
"version": "0.3.7",
"version": "0.3.8",
"description": "The JS Framework of Doric",
"main": "bundle/doric-vm.js",
"types": "index.d.ts",