initial development

This commit is contained in:
Kenneth Reitz
2010-03-29 04:32:28 -04:00
parent 79febd8e1a
commit 84e2cd3beb
15 changed files with 493 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
$.fn.markCurrentLocation = function() {
var path = window.location.href
return this.each(function(){
var self = $(this);
var href = self.attr('href');
if(RegExp(href).test(path)){
self
.wrap('<em></em>')
}
})
};