提交 567b4aa0 编写于 作者: fxy060608's avatar fxy060608

build uni runtime

上级 06c97d74
......@@ -1221,7 +1221,7 @@ canIUses.forEach(canIUseApi => {
let uni = {};
if (typeof Proxy !== 'undefined') {
if (typeof Proxy !== 'undefined' && "app-plus" !== 'app-plus') {
uni = new Proxy({}, {
get (target, name) {
if (name === 'upx2px') {
......@@ -1258,11 +1258,12 @@ if (typeof Proxy !== 'undefined') {
}
{
if (typeof global !== 'undefined') {
if (typeof global !== 'undefined') {
global.uni = uni;
global.UniEmitter = eventApi;
}
}
wx.createApp = createApp;
wx.createPage = createPage;
wx.createComponent = createComponent;
......
{
"name": "@dcloudio/uni-app-plus",
"version": "0.0.246",
"version": "0.0.247",
"description": "uni-app app-plus",
"main": "dist/index.js",
"scripts": {
......
......@@ -1793,7 +1793,7 @@ canIUses.forEach(canIUseApi => {
let uni = {};
if (typeof Proxy !== 'undefined') {
if (typeof Proxy !== 'undefined' && "mp-alipay" !== 'app-plus') {
uni = new Proxy({}, {
get (target, name) {
if (name === 'upx2px') {
......@@ -1845,7 +1845,7 @@ if (typeof Proxy !== 'undefined') {
}
});
}
my.createApp = createApp;
my.createPage = createPage;
my.createComponent = createComponent;
......
{
"name": "@dcloudio/uni-mp-alipay",
"version": "0.0.820",
"version": "0.0.821",
"description": "uni-app mp-alipay",
"main": "dist/index.js",
"scripts": {
......
......@@ -1376,7 +1376,7 @@ canIUses.forEach(canIUseApi => {
let uni = {};
if (typeof Proxy !== 'undefined') {
if (typeof Proxy !== 'undefined' && "mp-baidu" !== 'app-plus') {
uni = new Proxy({}, {
get (target, name) {
if (name === 'upx2px') {
......@@ -1428,7 +1428,7 @@ if (typeof Proxy !== 'undefined') {
}
});
}
swan.createApp = createApp;
swan.createPage = createPage;
swan.createComponent = createComponent;
......
{
"name": "@dcloudio/uni-mp-baidu",
"version": "0.0.848",
"version": "0.0.849",
"description": "uni-app mp-baidu",
"main": "dist/index.js",
"scripts": {
......
......@@ -1260,7 +1260,7 @@ canIUses.forEach(canIUseApi => {
let uni = {};
if (typeof Proxy !== 'undefined') {
if (typeof Proxy !== 'undefined' && "mp-qq" !== 'app-plus') {
uni = new Proxy({}, {
get (target, name) {
if (name === 'upx2px') {
......@@ -1312,7 +1312,7 @@ if (typeof Proxy !== 'undefined') {
}
});
}
wx.createApp = createApp;
wx.createPage = createPage;
wx.createComponent = createComponent;
......
{
"name": "@dcloudio/uni-mp-qq",
"version": "0.0.104",
"version": "0.0.105",
"description": "uni-app mp-qq",
"main": "dist/index.js",
"scripts": {
......
......@@ -1439,7 +1439,7 @@ canIUses.forEach(canIUseApi => {
let uni = {};
if (typeof Proxy !== 'undefined') {
if (typeof Proxy !== 'undefined' && "mp-toutiao" !== 'app-plus') {
uni = new Proxy({}, {
get (target, name) {
if (name === 'upx2px') {
......@@ -1491,7 +1491,7 @@ if (typeof Proxy !== 'undefined') {
}
});
}
tt.createApp = createApp;
tt.createPage = createPage;
tt.createComponent = createComponent;
......
{
"name": "@dcloudio/uni-mp-toutiao",
"version": "0.0.344",
"version": "0.0.345",
"description": "uni-app mp-toutiao",
"main": "dist/index.js",
"scripts": {
......
......@@ -1191,7 +1191,7 @@ canIUses.forEach(canIUseApi => {
let uni = {};
if (typeof Proxy !== 'undefined') {
if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
uni = new Proxy({}, {
get (target, name) {
if (name === 'upx2px') {
......@@ -1243,7 +1243,7 @@ if (typeof Proxy !== 'undefined') {
}
});
}
wx.createApp = createApp;
wx.createPage = createPage;
wx.createComponent = createComponent;
......
{
"name": "@dcloudio/uni-mp-weixin",
"version": "0.0.965",
"version": "0.0.966",
"description": "uni-app mp-weixin",
"main": "dist/index.js",
"scripts": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册