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

需求:import功能 #6

Open
dingjibang opened this issue Jan 15, 2016 · 0 comments
Open

需求:import功能 #6

dingjibang opened this issue Jan 15, 2016 · 0 comments

Comments

@dingjibang
Copy link
Owner

需求要求完成时间:
image

需求简述:
写一个import功能,就是在执行script脚本之前,先预处理一下(在NPC.java : 68
当读取到
// import global.js
这样的代码时,把global.js读进来并且附加到这个脚本的这句话的位置(听起来好麻烦OvO
(注意上面的确有//这个东西!,就是//import xx.js

读取的路径根据自身文件【相对位置】OvO

如果import的代码里面还他妈有import,那就不用管了2333我也不会那么写的,简单的读取就好

@Lchaos @HUIZHANGSAMA

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

1 participant