Reputation: 3566
I'm currently using two libraries (prototype and jQuery), thus I've implemented the jQuery noConflict method and set it equal to $j:
var $j = jQuery.noConflict();
Problem is, now the jquery-1.3.2-vsdoc.js doesn't recognize my $j as a valid entry argument.
Is there a way to change this? I've played around with the jquery-1.3.2-vsdoc.js and had no results.
Thanks!!
Upvotes: 0
Views: 261
Reputation: 10071
On line 51 of jquery-1.3.2-vsdoc.js, replace
jQuery = window.jQuery = window.$ = function(selector, context) {
with
jQuery = window.jQuery = window.$ = window.$j = function(selector, context) {
you'll be lying a little bit to Studio, since the source of the -vsdoc no longer matches the executing source, but it should be a safe hack.
Upvotes: 2
Reputation: 4590
Have you tried using an identifier that doesn't start with a dollar sign? I know that's the convention, but it might be mucking with your intellisense. Just a thought. Good luck!
Upvotes: 0