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