 
     // Same as above, but you pass the block in to the closure that is returned.
     public static func throttle(interval: NSTimeInterval) -> ThrottledBlock {
-        var timer : NSTimer? = nil
-        var lastBlock : BasicBlock?
+        var timer: NSTimer? = nil
+        var lastBlock: BasicBlock?
 
         return { block in
             lastBlock = block

    // like updating the UI after the user has "stopped typing" (ie hasn't hit a
    // key for 1/2 a sec or so)
    public static func debounce(timeout: NSTimeInterval, block: BasicBlock) -> BasicBlock {
        var timer : NSTimer? = nil
        let proc = Proc(block: block)

        return {


    // Same as above, but you pass the block in to the closure that is returned.
    public static func debounce(timeout: NSTimeInterval) -> ThrottledBlock {
        var timer: NSTimer? = nil

        return { block in
            if let prevTimer = timer {
