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

我使用的是原生的语法生成saajs模块后无法显示数据。 #70

Closed
landy2014 opened this issue Dec 29, 2014 · 5 comments
Closed

Comments

@landy2014
Copy link

tmodjs是否对原生的art-template语法支持不够?
我使用原生语法生成seajs模块的时候是无法显示数据的,如果是使用simple就不会这样的问题。
请指教。谢谢

@landy2014
Copy link
Author

@aui 能否帮我看看这个问题呢?

@aui
Copy link
Owner

aui commented Dec 30, 2014

你的问题到底是什么?没有提供任何有利于解决问题的的描述。

@aui aui closed this as completed Dec 30, 2014
Repository owner locked and limited conversation to collaborators Dec 30, 2014
Repository owner unlocked this conversation Dec 30, 2014
@landy2014
Copy link
Author

我描述一下
image
上图是我使用grunt-tmod生成的模板模块。
image
上图是我在页面中使用seajs加载模块并调用数据的。
image
上图是结果,数据没有显示出来。

抱歉我表述不是很好,麻烦看看上图是否对问题描述有帮助?
上述截图都是排除了语法错误和调用错误以及路径问题了,剩下的我就不知道怎么处理了。

@aui
Copy link
Owner

aui commented Dec 30, 2014

你应该看下示例就明白了。

var html = template(d);

@landy2014
Copy link
Author

明白了,我笨死了。打扰了。

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