UNPKG

dojo

Version:

Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.

16 lines (13 loc) 265 B
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; } );