@qooxdoo/framework
Version:
The JS Framework for Coders
19 lines (15 loc) • 379 B
JavaScript
qx.Mixin.define("qx.test.io.MRemoteTest",
{
members :
{
getUrl : function(path) {
return qx.util.ResourceManager.getInstance().toUri(path);
},
isLocal : function() {
return window.location.protocol == "file:";
},
needsPHPWarning : function() {
this.warn("This test can only be run from a web server with PHP support.");
}
}
});