Permalink
Browse files

added missing buildUrl

  • Loading branch information...
1 parent f1f7556 commit e1f56d94f3ee86ea37f6590f5851470a9784b794 @diervo committed Sep 19, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/app/autoload/store.client.js
@@ -151,6 +151,7 @@ YUI.add('mojito-client-store', function(Y, NAME) {
url = this.staticPrefix + '/' + typeName + '/specs/' + specName +
'.json';
url += '?' + Y.QueryString.stringify(context);
+ url = this.buildUrl(url, context);
// this is mainly used by html5app
if (this.appConfig.pathToRoot) {
@@ -179,6 +180,7 @@ YUI.add('mojito-client-store', function(Y, NAME) {
var type = spec.name,
url = this.staticPrefix + '/' + type + '/definition.json';
url += '?' + Y.QueryString.stringify(context);
+ url = this.buildUrl(url, context);
// this is mainly used by html5app
if (this.appConfig.pathToRoot) {
@@ -203,7 +205,7 @@ YUI.add('mojito-client-store', function(Y, NAME) {
getRoutes: function() {
return this.routes;
},
-
+
/**
* Checks the given URL and adds a context query string.
* @param url {String} the relative url

0 comments on commit e1f56d9

Please sign in to comment.