Permalink
Browse files

Merge branch 'master' of github.com:andrewdavey/vogue

  • Loading branch information...
2 parents 5ce2c4c + c097fee commit acd8b8af003e5aa4513039cb8e6662ed604e3492 @andrewdavey committed Jul 20, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/client/vogue-client.js
@@ -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
@@ -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++) {

0 comments on commit acd8b8a

Please sign in to comment.