2 position: ({top, left}) ->
3 return unless @options.shift
6 if typeof val is 'function'
7 val.call @, {top, left}
11 shift = result @options.shift
13 if typeof shift is 'string'
14 shift = shift.split(' ')
17 [shiftTop, shiftLeft] = shift
19 shiftTop = parseFloat shiftTop, 10
20 shiftLeft = parseFloat shiftLeft, 10
22 [shiftTop, shiftLeft] = [shift.top, shift.left]