/*!
 * jQuery Notify Plugin
 *
 * Copyright (c) 2012, 2013 David Persson
 *
 * Licensed under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
(function($) {
  var queue = $({});
  var queuedTexts = [];

  var render = function(html, level, sticky, complete) {
    var m = $('<div>').attr('class', 'message');

    if (level) {
      m.addClass(level);
    }
    if (sticky) {
      m.addClass('sticky');
    }
    m.hide();

    m.html(html);
    $('#messages').append(m);
    m.show();

    if (sticky) {
      m.click(function(ev) {
        $(this).remove();
        complete();
      });

      // Do not continue and probably show next message.
      return;
    }

    var timeout = 2100;
    if ($(html).text().length >= 25) {
      /* Double the timeout for complex messages, giving comprehension time. */
      timeout = timeout * 2;
    }

    setTimeout(function(){
      m.fadeOut('fast', function() {
        $(this).remove();
        complete(); /* Show next message in queue. */
      });
    }, timeout);
  };

  $.notify = function(html, level, sticky) {
    /* Prevent flooding; no more than 2 pending messages. We start at zero as
       this is called before the first item is queued. */
    if (queue.queue().length >= 2) {
      return;
    }
    /* Currently only one message at the time. Allowing showing multiple
      message here will might need a more sophisticated method of managment. */
    queue.queue(function(next) {
      render(html, level, sticky || false, next);
    });
  };
})(jQuery);

@@ -760,17 +760,17 @@
 %0A      /
-*
+/
  Double 
@@ -802,16 +802,25 @@
 essages,
+%0A      //
  giving 
@@ -838,19 +838,16 @@
 on time.
- */
 %0A      t
@@ -986,17 +986,17 @@
 ete(); /
-*
+/
  Show ne
@@ -1015,19 +1015,16 @@
 n queue.
- */
 %0A      %7D
@@ -1099,17 +1099,17 @@
  %7B%0A    /
-*
+/
  Prevent
@@ -1167,16 +1167,23 @@
 t at
+%0A    //
  zero as
 %0A   
@@ -1178,23 +1178,16 @@
  zero as
-%0A      
  this is
@@ -1226,19 +1226,16 @@
  queued.
- */
 %0A    if 
@@ -1289,17 +1289,17 @@
  %7D%0A    /
-*
+/
  Current
@@ -1361,17 +1361,18 @@
 ple%0A    
- 
+//
  message
@@ -1434,19 +1434,16 @@
 nagment.
- */
 %0A    que

Unify comment-style.