Permalink
Browse files

Merge pull request #14 from stephband/master

In projects where jQuery.noConflict() is called, $ is undefined.
  • Loading branch information...
2 parents c6c54dd + efc305b commit c097feed30507fba7df0a0826068fafeaa43970d @andrewdavey committed May 17, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 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++) {

0 comments on commit c097fee

Please sign in to comment.