压缩JS的时候出现这个警告以至于我不能压缩JS文件,这个警告我不知道错误如何修改,如下:D:\Web\Scripts\Pic.js(234): warning: variable p hides argument
p = ['&url=', 'http://www.imtns.com/', '&title=', '', '&content=', c || 'utf-8', '&pic=', srcc].join('');
................^
0 error(s), 1 warning(s)
function souhutuisong(srcc) {
(function (s, d, e, r, l, p, t, z, c) {
var f = 'http://t.sohu.com/third/post.jsp?',
u = z || d.location,
p = ['&url=', 'http://www.imtns.com/', '&title=', '', '&content=', c || 'utf-8', '&pic=', srcc].join('');
function avsas() {
if (!window.open([f, p].join(''), 'mb', ['toolbar=0,status=0,resizable=1,width=660,height=470,left=', (s.width - 660) / 2, ',top=', (s.height - 470) / 2].join(''))) u.href = [f, p].join('');
}
if (/Firefox/.test(navigator.userAgent)) setTimeout(a, 0);
else avsas();
})(screen, document, encodeURIComponent, '', '', '', '', '', 'utf-8');}
p = ['&url=', 'http://www.imtns.com/', '&title=', '', '&content=', c || 'utf-8', '&pic=', srcc].join('');
................^
0 error(s), 1 warning(s)
function souhutuisong(srcc) {
(function (s, d, e, r, l, p, t, z, c) {
var f = 'http://t.sohu.com/third/post.jsp?',
u = z || d.location,
p = ['&url=', 'http://www.imtns.com/', '&title=', '', '&content=', c || 'utf-8', '&pic=', srcc].join('');
function avsas() {
if (!window.open([f, p].join(''), 'mb', ['toolbar=0,status=0,resizable=1,width=660,height=470,left=', (s.width - 660) / 2, ',top=', (s.height - 470) / 2].join(''))) u.href = [f, p].join('');
}
if (/Firefox/.test(navigator.userAgent)) setTimeout(a, 0);
else avsas();
})(screen, document, encodeURIComponent, '', '', '', '', '', 'utf-8');}
解决方案 »
- JS正则验证字符串的语法问题
- 高份求正则高手解决一下,即等
- 窗口最小、最大化代码这样写有错吗
- 60分啦!!马上给分
- 怎么让iframe里的页面后退????
- 学javascript 看什么样的书比较好???
- 给个鼠标移上去(onmouseover)就弹出菜单的例子
- 新手问题! 我套用了一个在线电台的程序,该程序可以用 RX.GetTitle();获取rm文件中的书签标题信息,有没有其他函数或对象可以获取keywords
- 是否能够实现shift加上鼠标左键等同于单击鼠标左键
- 新人求教 关于在网页的js中调用启动第三方应用程序的问题
- 如果删除一个div
- [求助] 请帮忙看看这段JavaScript写法符合面向对象吗?
呵呵