Skip to content

Instantly share code, notes, and snippets.

@jcleveley-zz
Created May 9, 2012 14:02
Show Gist options
  • Save jcleveley-zz/2644698 to your computer and use it in GitHub Desktop.
Save jcleveley-zz/2644698 to your computer and use it in GitHub Desktop.
var curl = {
baseUrl: '<?= $this->staticPrefix ?>/js/',
paths: {
curl: 'vendor/curl/curl',
'locator': '../../../locator/mobile/<?= $config['locatorVersion'] ?>/js/module/',
'module/index': '<?= ($this->compiledJs) ? 'compiled/all' : 'module/index' ?>',
'module/story': '<?= ($this->compiledJs) ? 'compiled/all' : 'module/story' ?>',
'module/live-event': '<?= ($this->compiledJs) ? 'compiled/all' : 'module/live-event' ?>',
"jquery-1": "http://static.test.bbci.co.uk/frameworks/jquery/0.1.8/sharedmodules/jquery-1.6.2",
"demi-1":"http://static.test.bbci.co.uk/frameworks/demi/0.9.8/sharedmodules/demi-1",
'emp-clear': 'http://emp.bbci.co.uk/emp/releases/clear/embed.js?mediasets=journalism-http-mobile'
},
apiName: 'require',
pluginPath: 'vendor/curl/curl/plugin'
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment