Plato on Github
Report Home
dojo/tests/functional/_base/loader/requirejs/funcOne.js
Maintainability
83.15
Lines of code
15
Difficulty
9.00
Estimated Errors
0.07
Function weight
By Complexity
By SLOC
define('funcOne', ['require', 'funcTwo'], function (require) { var one = function (name) { this.name = name; }; one.prototype.getName = function () { var inst = new (require('funcTwo'))('-NESTED'); return this.name + inst.name; }; return one; } );