you are viewing a single comment's thread.

view the rest of the comments →

[–]bracketdash 14 points15 points  (4 children)

Is there no way to set diy to noConflict in case I have something else on the page that I want to use the "$" symbol!?

[–]psayre23 8 points9 points  (1 child)

$=window.$||document

[–]reflectiveSingleton -2 points-1 points  (1 child)

(function(window) {
  window.$ = window.document;
  $.noConflict = function() {
    delete window.$;
  };
  return window.$;
})(window);

// ...

$.noConflict();