UNPKG

weex-nuke

Version:

基于 Rax 、Weex 的高性能组件体系 ~~

31 lines (23 loc) 1.05 kB
/** * Copyright (c) 2017-present, Alibaba Group Holding Limited. * All rights reserved. */ /** @jsx createElement */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _item = require('./view/item.js'); var _item2 = _interopRequireDefault(_item); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var isWeex = typeof callNative === 'function' || (typeof WXEnvironment === 'undefined' ? 'undefined' : _typeof(WXEnvironment)) === 'object' && WXEnvironment.platform !== 'Web'; var Entry = void 0; if (isWeex) { Entry = require('./view/tabbar.js'); } else { Entry = require('./view/tabbar-web.js'); } Entry.Item = _item2.default; exports.default = Entry; module.exports = exports['default'];