ejbeaty/CellEdit

$ conflict in plugin

Opened this issue · 1 comments

I am using prototype.js in my project which is conflicting with the $ used in dataTables.cellEdit.js. (for eg : line no 103 in CellEdit version 1.0.19)
I have already aliased 'jQuery' as 'jQ' using jQuery.noConflict();.

If I change the '$' reference to 'jQ' in the plugin it is working.

Is there an alternate way to revert the $ alias and then create and execute a function to provide the $ as a jQuery alias inside the function's scope.

Push, I have the same problem currently. I'm trying to include cellEdit in a WordPress plugin. And WordPress has strict mode on in jquery, so either I put cellEdit in a document ready wrapper with jQuery($), which kinda works, until I try to save the field. Then I get the same error again.

Is there any workaround?
image