Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么在js文件中引用nebPay #44

Open
wangMengLiang opened this issue Jun 5, 2018 · 1 comment
Open

怎么在js文件中引用nebPay #44

wangMengLiang opened this issue Jun 5, 2018 · 1 comment

Comments

@wangMengLiang
Copy link

现在的nebPay文件只能直接引用到html中使用,怎么在js文件中引用nebPay,需要使用对接cocosCreator。

@yupnano
Copy link
Contributor

yupnano commented Jun 5, 2018

在JS文件中可以用

var NebPay = require("PathTo/nebpay.js")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants