 ###
 inRec = (x, y, top, left, height, width) ->
   (x >= left) and (x <= left + width) and (y >= top) and (y <= top + height)
-
-
-###*
-# Clamps the passed value `v` to within `min` and `max` values.
-#
-# @param {number} v - The value to clamp.
-#
-# @param {number} min - The minimum value.
-#
-# @param {number} max - The maximum value.
-#
-# @returns {number} A number between `min` and `max`.
-#
-# @function clamp
-###
-clamp = (v, min, max) -> Math.max(min, Math.min(max, v))
 
 
 ###*


  h = clamp(h, @minHeight, @maxHeight)
  w = clamp(w, @minWidth, @maxWidth)


  ut = initialTop + initialHeight - h
  ul = initialLeft + initialWidth - w

#
# @module stout-ui/resizable/ResizableView
###
clamp      = require '../util/clamp'
Draggable  = require '../traits/Draggable'
Foundation = require 'stout-core/base/Foundation'
isString   = require 'lodash/isString'
