关于anthem自动产生代码的疑问
最近用到anthem,以下是官方给出的演示页
http://anthem.talloaksoftware.com/DropDownLists.aspx
查看页面源文件并无多余的JS代码。
将项目下载后在本地运行,查看源代码会多出一堆JS代码,以下是部分代码:
</script><script type="text/javascript">
//<![CDATA[
// Anthem.js
// Updated Mar 30, 2007
// Anthem.Manager.GetScripts: false
function Anthem_Encode(s){
if (typeof encodeURIComponent == "function") {
// Use JavaScript built-in function
// IE 5.5+ and Netscape 6+ and Mozilla
return encodeURIComponent(s);
} else {
// Need to mimic the JavaScript version
// Netscape 4 and IE 4 and IE 5.0
return encodeURIComponentNew(s);
}
}
//省略
anthem项目代码下载地址:http://sourceforge.net/projects/anthem-dot-net
请教如何去掉多余的JS代码。