Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Commit

Permalink
Get projectName in the right place.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan J Daw committed May 16, 2013
1 parent 92fe8d9 commit 9498164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/combo.js
Expand Up @@ -280,7 +280,6 @@ var $ = Mobify.$
, endpoint: 'jsonp'
, execCallback: 'Mobify.combo.exec'
, loadCallback: 'Mobify.combo.load'
, projectName: Mobify.config.projectName || ''
}

, combo = Mobify.combo = {
Expand Down Expand Up @@ -359,8 +358,9 @@ var $ = Mobify.$
* consistent URLs.
*/
, getURL = Mobify.combo.getURL = function(urls, callback) {
var projectName = Mobify.config.projectName || '';
return defaults.proto + defaults.host +
(defaults.projectName ? '/project-' + defaults.projectName : '') +
(projectName ? '/project-' + projectName : '') +
'/' + defaults.endpoint + '/' + callback + '/' +
JSONURIencode(urls.slice().sort());
}
Expand Down

0 comments on commit 9498164

Please sign in to comment.