Jan 8, 2013 at 5:31 AM
Edited Jan 8, 2013 at 5:34 AM
A lot of libraries such as Dojo or Requirejs alow you to import any type of file (such as language files etc.) using AMD "Loader Plugins".
I have also found that this question is related to:
I believe that something like:
import text = module("Any text that I want! :o) ") as String;
would be general enough to work with any loader plugin.