Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

damme store changes!

  • Loading branch information...
commit 73b4543b82d839964e90a4e994da721964d04179 1 parent e1f56d9
@diervo authored
Showing with 3 additions and 12 deletions.
  1. +3 −12 lib/app/autoload/store.client.js
View
15 lib/app/autoload/store.client.js
@@ -150,13 +150,8 @@ YUI.add('mojito-client-store', function(Y, NAME) {
// just fine.
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) {
- url = this.appConfig.pathToRoot + url;
- }
+ url = this.buildUrl(url, context);
// use the compiled version if there was one built
if (isCompiled(ns, specName)) {
@@ -168,6 +163,7 @@ YUI.add('mojito-client-store', function(Y, NAME) {
retrieveFile(url, callback);
},
+
/*
* TODO: REVIEW RE [Issue 77]
*/
@@ -179,13 +175,8 @@ YUI.add('mojito-client-store', function(Y, NAME) {
// just fine.
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) {
- url = this.appConfig.pathToRoot + url;
- }
+ url = this.buildUrl(url, context);
retrieveFile(url, callback);
},
Please sign in to comment.
Something went wrong with that request. Please try again.