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