UNPKG

node-sharepoint-rest

Version:

On Premise SharePoint 2013 REST API wrapper. Requires basic auth to be enabled on SharePoint

13 lines (10 loc) 321 B
moduleKeywords = ['included', 'extended'] class SuperClass @include: (obj) -> throw('include(obj) requires obj') unless obj for key, value of obj.prototype when key not in moduleKeywords @::[key] = value included = obj.included included.apply(this) if included @ module.exports = SuperClass