diff --git a/static/js/services/resturl.js b/static/js/services/resturl.js index fdacf59f..6ffe19d8 100644 --- a/static/js/services/resturl.js +++ b/static/js/services/resturl.js @@ -20,7 +20,7 @@ */ "use strict"; -define(["underscore", "jquery"], function(_, $) { +define(["underscore"], function(_) { // restURL return ["globalContext", "$window", function(context, $window) { @@ -49,8 +49,6 @@ define(["underscore", "jquery"], function(_, $) { // Skip empty parts, effectly stripping spurious slashes. return; } - // Trim parts. removing white space from start and end. - p = $.trim(p); nn.push(p); // URL encode. p = $window.encodeURIComponent(p);