Skip to content

Commit

Permalink
add missing @returns annotation to DefaultProxy#getURL
Browse files Browse the repository at this point in the history
  • Loading branch information
icholy committed May 19, 2015
1 parent d880e17 commit 6d58a84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/DefaultProxy.js
Expand Up @@ -19,10 +19,11 @@ define(function() {
* Get the final URL to use to request a given resource.
*
* @param {String} resource The resource to request.
* @returns {String} proxied resource
*/
DefaultProxy.prototype.getURL = function(resource) {
return this.proxy + '?' + encodeURIComponent(resource);
};

return DefaultProxy;
});
});

0 comments on commit 6d58a84

Please sign in to comment.