bundles/org.eclipse.orion.client.ui/web/orion/sites/siteClient.js
function(site, file) {
			if (!site) {
				var d = new Deferred();
				d.resolve(false);
				return d;
			}
			return this.getURLOnSite(site, file).then(function(url) {
				return url !== null;
			});
		}
function(site, file) {
			if (!site) {
				var d = new Deferred();
				d.resolve(false);
				return d;
			}
			return this.getURLOnSite(site, file).then(function(url) {
				return url !== null;
			});
		}
function ( site , file ) { if ( ! site ) { var d = new Deferred ( ) ; d . resolve ( false ) ; return d ; } return this . getURLOnSite ( site , file ) . then ( function ( url ) { return url !== null ; } ) ; }
Convenience methods below
Convenience methods below