Release 1.0.0-alpha1

This commit is contained in:
Mattias Erming 2014-04-24 20:11:45 +02:00
parent 75e90a6c23
commit efeb4a537a
2 changed files with 9 additions and 5 deletions

View File

@ -133,15 +133,17 @@
return this; return this;
}; };
var append = $.fn.append; // Overrides
$.fn.append = function() {
return append.apply(this, arguments).trigger('append');
};
var prepend = $.fn.prepend; var prepend = $.fn.prepend;
$.fn.prepend = function() { $.fn.prepend = function() {
return prepend.apply(this, arguments).trigger('append'); return prepend.apply(this, arguments).trigger('append');
}; };
var append = $.fn.append;
$.fn.append = function() {
return append.apply(this, arguments).trigger('append');
};
var html = $.fn.html; var html = $.fn.html;
$.fn.html = function(string) { $.fn.html = function(string) {
@ -152,6 +154,8 @@
return result; return result;
}; };
// Utils
$.fn.scrollToBottom = function(speed) { $.fn.scrollToBottom = function(speed) {
return this.each(function() { return this.each(function() {
$(this).finish().animate({scrollTop: this.scrollHeight}, speed || 0); $(this).finish().animate({scrollTop: this.scrollHeight}, speed || 0);

View File

@ -1,7 +1,7 @@
{ {
"name": "shout", "name": "shout",
"description": "The modern IRC client", "description": "The modern IRC client",
"version": "0.2.3", "version": "1.0.0-alpha1",
"author": { "author": {
"name": "Mattias Erming", "name": "Mattias Erming",
"email": "mattias@mattiaserming.com" "email": "mattias@mattiaserming.com"