~jonas-drange/online-services-common-js/navbar-autocomplete

« back to all changes in this revision

Viewing changes to src/yui-config/scripts/yui_config.tmpl

  • Committer: Stephen Stewart
  • Date: 2014-02-22 23:57:25 UTC
  • mfrom: (18.1.2 trunk)
  • Revision ID: stephen.stewart@canonical.com-20140222235725-iw6f15t9umws19xd
mergeĀ lp:~stephen-stewart/online-services-common-js/remove-u1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*global MEDIA_URL:true, COMBO_URL:true, USE_COMBO:true, YUI:true */
2
 
YUI.GlobalConfig = {
3
 
    maxURLLength: 2000,
4
 
    combine:true,
5
 
    comboBase: COMBO_URL + '?',
6
 
    base:  MEDIA_URL+'js/yui/',
7
 
    root: 'js/yui/',
8
 
    groups: {
9
 
        'u1': {
10
 
          combine: USE_COMBO,
11
 
          root: 'js/u1/build/',
12
 
          base: MEDIA_URL + 'js/u1/build/',
13
 
          modules:
14
 
          %MODULES%
15
 
        }
16
 
    }
17
 
};
18
 
 
19
 
if (!USE_MIN) {
20
 
    YUI.GlobalConfig.filter = {
21
 
        'searchExp': '(' + YUI.GlobalConfig.groups.u1.root + '.*?/.*?)-min.js',
22
 
        'replaceStr': '$1-debug.js'
23
 
    };
24
 
}