我正在将我的 javascripts 归档到外部文件中。在这个过程中,我在 Chrome 中遇到了以下错误:
Uncaught SyntaxError: Unexpected token ILLEGAL Line:2
$(document).bgStretcher({
#if($CURRENTPAGE.pageId==23)
images: ['/media/backgrounds/homepage/homepage.jpg'], imageWidth: 1860, imageHeight: 1000
#else
images: ['/media/backgrounds/Dreamjob_coachfoto_'+pad(randomnumber,3)+'.jpg'], imageWidth: 1860, imageHeight: 1000
#end
});
谁能帮我?