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

build uni runtime

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