Despite both properties are strings:

http://ift.tt/1u4yALe

http://ift.tt/1wE1xKX


when I assign the function returning a string to both of them:



Code:



url: function () {
return Ext.get("container").getAttribute("data-url");
}

I'm getting different results:


  • For loader it's treated as string.

  • For proxy it's threated as function so returns an error somewhere inside the framework:


indexOf() is not a function.