Sha256: 011e43c9cfde7d798e46dbdc478a00cbaab50ae4d9168a1027ba80549f3cdb63
Contents?: true
Size: 551 Bytes
Versions: 46
Compression:
Stored size: 551 Bytes
Contents
pageflow.stylesheet = { reload: function(name) { var link = this.selectLink(name); if (!link.data('originalHref')) { link.data('originalHref', link.attr('href')); } link.attr('href', link.data('originalHref') + '&reload=' + new Date().getTime()); }, update: function(name, stylesheetPath) { var link = this.selectLink(name); if (link.attr('href') !== stylesheetPath) { link.attr('href', stylesheetPath); } }, selectLink: function(name) { return $('head link[data-name=' + name + ']'); } };
Version data entries
46 entries across 46 versions & 1 rubygems