Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added missing buildUrl

  • Loading branch information...
commit e1f56d94f3ee86ea37f6590f5851470a9784b794 1 parent f1f7556
@diervo authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/app/autoload/store.client.js
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.