index.js 282 字节
Newer Older
1
export function requireNativePlugin (pluginName) {
2 3 4 5
  /* eslint-disable no-undef */
  if (typeof weex !== 'undefined') {
    return weex.requireModule(pluginName)
  }
6 7
  /* eslint-disable no-undef */
  return __requireNativePlugin__(pluginName)
8 9 10
}

export * from './sub-nvue'