From efeb4a537a58902e68ea70f9f5762ae6f6148c3a Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Thu, 24 Apr 2014 20:11:45 +0200 Subject: [PATCH] Release 1.0.0-alpha1 --- client/js/jquery.plugins.js | 12 ++++++++---- package.json | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/client/js/jquery.plugins.js b/client/js/jquery.plugins.js index 255d1a0..ee7ff50 100644 --- a/client/js/jquery.plugins.js +++ b/client/js/jquery.plugins.js @@ -133,15 +133,17 @@ return this; }; - var append = $.fn.append; - $.fn.append = function() { - return append.apply(this, arguments).trigger('append'); - }; + // Overrides var prepend = $.fn.prepend; $.fn.prepend = function() { 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; $.fn.html = function(string) { @@ -152,6 +154,8 @@ return result; }; + // Utils + $.fn.scrollToBottom = function(speed) { return this.each(function() { $(this).finish().animate({scrollTop: this.scrollHeight}, speed || 0); diff --git a/package.json b/package.json index 8bcbe58..4153461 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shout", "description": "The modern IRC client", - "version": "0.2.3", + "version": "1.0.0-alpha1", "author": { "name": "Mattias Erming", "email": "mattias@mattiaserming.com"