Yii Minscript Error with Jquery Mobile -
i tried minifying jquery mobile javascript file using yii minscript extension wraps minify. keep getting javascript file seems missing few codes , throws errors. did bit of digging , discovered code section below of jquery mobileseem problem. guess because of double slash (//).
the code section not minifying properly:
ispath:function(e){return/\//.test(e)} can tell me how fix error?
this how solved problem:
ispath:function(e){return/(\/)/.test(e)} i wrapped content of double slash in parentheses. buggy?
Comments
Post a Comment