     }
 
     /**
-    Helper for animating the Snackbar showing on screen
-    */
+     * Helper for animating the Snackbar showing on screen.
+     */
     func show() {
         alpha = 1
         bottom?.updateOffset(0)
     }
 
     /**
-    Helper for animating the Snackbar leaving the screen
-    */
+     * Helper for animating the Snackbar leaving the screen.
+     */
     func hide() {
         alpha = 0
         var h = frame.height

}

/**
A special version of a snackbar that persists for maxCount page loads. Defaults to waiting for 2 loads (i.e. will persist over one page load, which is useful for things like saving passwords.
*/
class CountdownSnackBar: SnackBar {
    private var maxCount: Int? = nil
    private var count = 0

    }

    /**
     * Called to check if the snackbar should be removed or not. By default, Snackbars persist forever.
     * Override this class or use a class like CountdownSnackbar if you want things expire
     * :returns: true if the snackbar should be kept alive
     */
    func shouldPersist(browser: Browser) -> Bool {
        return true
    }
