Plato on Github
Report Home
node_modules/when/lib/decorators/inspect.js
Maintainability
89.58
Lines of code
14
Difficulty
8.65
Estimated Errors
0.07
Function weight
By Complexity
By SLOC
/** @license MIT License (c) copyright 2010-2014 original author or authors */ /** @author Brian Cavalier */ /** @author John Hann */ (function(define) { 'use strict'; define(function() { return function inspect(Promise) { Promise.prototype.inspect = function() { return this._handler.inspect(); }; return Promise; }; }); }(typeof define === 'function' && define.amd ? define : function(factory) { module.exports = factory(); }));