From b1ce78684104f67de8a411c26156a0c74b2b32d1 Mon Sep 17 00:00:00 2001 From: Adrian Lee Date: Fri, 22 Nov 2013 16:07:41 -0800 Subject: [PATCH] docs(macAffix): Added parmeters --- src/directives/affix.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/directives/affix.coffee b/src/directives/affix.coffee index 93375b8..db4f4a3 100644 --- a/src/directives/affix.coffee +++ b/src/directives/affix.coffee @@ -34,6 +34,9 @@ angular.module("Mac").directive "macAffix", [ @description Update top or bottom offset. This function will make sure the value is an integer and use default value + @param {String} key Offset key + @param {String|Integer} value Update value + @param {Bool} useDefault ### setOffset = (key, value, useDefault = false) -> value = defaults[key] if useDefault and not value?