I\'m trying to work with requirejs and text plugin and I have weird problem.
I have two web servers:
Such config does not work in current text! plugin. My solution was in overriding useXhr method in 'text' module
require(["text"], function (text)
{ if( location.port == '4502' || location.port == '4503' )// AEM env-t
text.useXhr = function(){ return true; }
require(["loader/widget/WidgetLoader"]); // dependent on HTML templates by text! plugin
});