From c40d9bf25ede96bc53703fc3a788c78ea1dd3a42 Mon Sep 17 00:00:00 2001 From: Nedim Arabaci Date: Sat, 28 Jan 2012 11:23:30 +0200 Subject: [PATCH] Cleaning --- js/jquery.noty.new.js | 189 ------------------------------------------ 1 file changed, 189 deletions(-) delete mode 100644 js/jquery.noty.new.js diff --git a/js/jquery.noty.new.js b/js/jquery.noty.new.js deleted file mode 100644 index 8bbedc24..00000000 --- a/js/jquery.noty.new.js +++ /dev/null @@ -1,189 +0,0 @@ -/** - * jQuery Noty Plugin v0.1 - * - * Copyright (c) 2011 LMS Co Inc. - * Authors: Nedim Arabacı (http://ned.im), Muhittin Özer (http://muhittinozer.com) - * - * Created: 31/10/2011 - * - * Licensed under the MIT licenses: - * http://www.opensource.org/licenses/mit-license.php - * - **/ -(function($) { - $.noty = function(options) { - // To avoid scope issues, use 'base' instead of 'this' - // to reference this class from internal events and functions. - var base = this; - - base.init = function() { - - base.options = $.extend({}, $.noty.defaultOptions, options); - - // Push notification to que - if (base.options.force || base.options.layout == 'topLeft' || base.options.layout == 'topRight') { - $.noty.que.unshift({options: base.options}); - $('#noty_que_list').prepend($('
  • ').addClass(base.options.type).html(base.options.type)); - } else { - $.noty.que.push({options: base.options}); - $('#noty_que_list').append($('
  • ').addClass(base.options.type).html(base.options.type)); - } - - base.render(); - - }; - - // Render the que - base.render = function() { - - if ($.noty.available) { - - // Get noty from que - var notification = $.noty.que.shift(); - - if (jQuery.type(notification) === 'object') { - - // Layout spesific container settings - if(notification.options.layout == "topLeft" || notification.options.layout == "topRight") - { - if($("ul.noty_container."+notification.options.layout).length > 0) - { - base.$noty_container = $("ul.noty_container."+notification.options.layout); - } - else - { - base.$noty_container = $('