UNPKG

tastypie

Version:

Tastypie is a webservice API framework for Node.js based on Django's Tastypie Framework. It provides a convenient, yet powerful and highly customizable, abstraction for creating REST-style interfaces

11 lines (9 loc) 184 B
define(function(){ /** * Loops value inside range. */ function loop(val, min, max){ return val < min? max : (val > max? min : val); } return loop; });