Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changes $ references to jQuery. In projects where jQuery.noConflict()…

… is called, $ is undefined.
  • Loading branch information...
commit efc305b68a08fbf9e6c43795c72f08c9bfe0f364 1 parent c6c54dd
@stephband stephband authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/client/vogue-client.js
View
6 src/client/vogue-client.js
@@ -37,11 +37,11 @@ function vogue() {
+ (href.indexOf('?') >= 0 ? '&' : '?')
+ '_vogue_nocache='
+ (new Date()).getTime();
- $(stylesheets[href]).attr('href', newHref);
+ jQuery(stylesheets[href]).attr('href', newHref);
}
function getLocalStylesheets() {
- var links = $('link[rel="stylesheet"][href]').filter(isLocal);
+ var links = jQuery('link[rel="stylesheet"][href]').filter(isLocal);
var stylesheets = {};
links.each(function() {
// Match hrefs against stylesheet bases we know of
@@ -56,7 +56,7 @@ function vogue() {
return stylesheets;
function isLocal() {
- var href = $(this).attr('href');
+ var href = jQuery(this).attr('href');
var isExternal = true;
for (var i=0; i<script.bases.length; i++) {
Please sign in to comment.
Something went wrong with that request. Please try again.