text: MODULARIZR.register("module1",function(o,e){"use strict";var c="Private module1's properties";return e.property1="Protected module1's properties",e.method1=function(){console.log("I'm a protected module1's method"),console.log("I'm visible to module1 and module2's methods"),console.log("I can access "+c),console.log("I can access "+e.property1),console.log("I can access "+o.property1),console.log("I can access "+e.property2),console.log("I can access "+o.property2)},o.property1="Public module1's properties",o.method1=function(){console.log("I'm a public module1's method"),console.log("I'm visible to everyone can access the outer object, in addition to module1 and module2's methods"),console.log("I can access "+c),console.log("I can access "+e.property1),console.log("I can access "+o.property1),console.log("I can access "+e.property2),console.log("I can access "+o.property2)},{publicScope:o,protectedScope:e}}),MODULARIZR.register("module2",function(o,e){"use strict";var c="Private module2's properties";return e.property2="Protected module2's properties",e.method2=function(){console.log("I'm a protected module2's method"),console.log("I'm visible to module1 and module2's methods"),console.log("I can access "+c),console.log("I can access "+e.property1),console.log("I can access "+o.property1),console.log("I can access "+e.property2),console.log("I can access "+o.property2)},o.property2="Public module2's properties",o.method2=function(){console.log("I'm a public module2's method"),console.log("I'm visible to everyone can access the outer object, in addition to module1 and module2's methods"),console.log("I can access "+c),console.log("I can access "+e.property1),console.log("I can access "+o.property1),console.log("I can access "+e.property2),console.log("I can access "+o.property2)},{publicScope:o,protectedScope:e}}),MODULARIZR.register("module3",function(o,e,c){"use strict";return o.logArg=function(){console.log(c)},{publicScope:o,protectedScope:e}}),MODULARIZR.register("module-error",function(o,e,c){"use strict";return o.logArg=function(){console.log(c)},{protectedScope:e}});var myObject=MODULARIZR.singleton(["module1","module2"]);