javascript - natjs integration error, prompt undefined at runtime
迷茫
迷茫 2017-07-05 11:00:52
0
1
1000

natjs integration error, when running natjs if (typeof(__weex_define__) === 'function') prompts undefined

let Nat = {}
if (typeof(__weex_define__) === 'function') {
const camera = require('./camera')
const communication = require('./communication')
const geolocation = require('./geolocation')
const media = require('./media')
const modal = require('./modal')
const recorder = require('./recorder')
const network = require('./network')
const sensor = require('./sensor')
const device = require('./device')
const navigator = require('./navigator')
迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
滿天的星座

__weex_define__?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template