Skip to content

Commit

Permalink
Merge branch 'master' of github.com:andrewdavey/vogue
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdavey committed Jul 20, 2011
2 parents 5ce2c4c + c097fee commit acd8b8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client/vogue-client.js
Expand Up @@ -31,11 +31,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
Expand All @@ -50,7 +50,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++) {
Expand Down

0 comments on commit acd8b8a

Please sign in to comment.