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) 272 B
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; } );