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
16 lines (13 loc) • 401 B
JavaScript
define(['./isKind'], function (isKind) {
/**
*/
var isArgs = isKind(arguments, 'Arguments')?
function(val){
return isKind(val, 'Arguments');
} :
function(val){
// Arguments is an Object on IE7
return !!(val && Object.prototype.hasOwnProperty.call(val, 'callee'));
};
return isArgs;
});