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 (10 loc) 232 B
define(function(){ /** * Bitwise circular shift left * http://en.wikipedia.org/wiki/Circular_shift */ function rol(val, shift){ return (val << shift) | (val >> (32 - shift)); } return rol; });