Commits

myfreeweb  committed c5b9d9e

Updated todo and comments

  • Participants
  • Parent commits f969380

Comments (0)

Files changed (1)

File jquery.jgrowl.js

  *
  * To Do:
  * - Move library settings to containers and allow them to be changed per container
- * - Create an option to force non-native notifications.
  *
  * Changes in 1.2.3.4
  * - Native notifications used if present (via Fluid or Prism).
 	    var self = this;
 	    var message = notification.message;
 	    var o = notification.options;
+	    /** If user said 'force', we force **/
 	    if (o.forceDefault == true) { defaultNotify(); }
 	    else {
+		/** Using Fluid API **/
 		if (window.fluid) {
 		    window.fluid.showGrowlNotification({ title: o.header,
 							 description: message,
 							 sticky: o.sticky
 						       });
-		}
+		} /** Or Prism **/
 		else if (window.platform.showNotification) {
 		    window.platform.showNotification(o.header, message, '');
 		}