fix issue that template and jquery incompatible. #62

wants to merge 1 commit into

4 participants

@xuyizhi template is not complete compatible with jquery.
for example , "$.ajax('')" will get errors. you need change '$' to '$$' to solve the problem.It's a little boring.
And I notice that the jquery almost start with "$." or "$(", whitch is meanless in template.
So, I add 2 lines that let template treat "$." "$(" as "$$." "$$(",and then both jquery and work fine now.


You can use jQuery. instead of $.


"jQuery" is a little long length string, not simple enough.
Or maybe we can set a option that can let user select "$ compatible mode"?


it's sees OK.Thanks

@xuyizhi xuyizhi closed this May 13, 2011

thx,it solved my problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment