jappixmini: include jappix source

This commit is contained in:
Leberwurscht 2012-04-18 01:12:24 +02:00
parent 61eb1f0d18
commit 302b2820d1
231 changed files with 96082 additions and 2 deletions

View file

@ -0,0 +1,14 @@
$.fn.selectRange = function(start, end) {
return this.each(function() {
if (this.setSelectionRange) {
this.focus();
this.setSelectionRange(start, end);
} else if (this.createTextRange) {
var range = this.createTextRange();
range.collapse(true);
range.moveEnd('character', end);
range.moveStart('character', start);
range.select();
}
});
};