This is a test bg = (c) -> -> @css "background-color": c $("#foo").$toggle (bg "blue"), (bg "white"), (bg "red")