Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

steal a file and get its reference as an object

$
0
0
Hi, 
Can I steal a file and get its reference as an object?
something like..
var HomeController = steal('js/controllers/HomeController.js');
var hc = new HomeController();

Is something like this possible with stealJS?

Thanks,
kirthi

Viewing all articles
Browse latest Browse all 3491

Trending Articles