( value, grid, method )
| 293 | }; |
| 294 | |
| 295 | function applyGrid( value, grid, method ) { |
| 296 | if ( !grid ) return value; |
| 297 | |
| 298 | method = method || 'round'; |
| 299 | return Math[ method ]( value/grid ) * grid; |
| 300 | } |
| 301 | |
| 302 | proto.containDrag = function( axis, drag, grid ) { |
| 303 | if ( !this.options.containment ) return drag; |
no outgoing calls
no test coverage detected
searching dependent graphs…