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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -