UNPKG

rare123

Version:

this is rare

27 lines (21 loc) 682 B
// this is test NPM package. // rare123 may be freely distributed under the MIT licence (function() { //处理全局变量 var root = typeof self == 'object' && self.self === self && self || typeof global == 'object' && global.global === global && global || this || {}; var Morin = { one() { console.log('这里是one function... ...'); }, name: 'Morin Object', version: '1.0.0 版本号' } if (typeof exports != 'undefind' && !exports.nodeType) { if (typeof module != 'undefind && !module.nodeType && module.exports') { exports = module.exports = Morin; } exports.Morin = Morin; } else { root.Morin = Morin; } }());