meta.js revision b4f208163b6b869339993ba6aac10ca508e4be83
(function() {
META = {
skin: {
defaultSkin: 'sam',
path: 'skin.css',
//rollup: 3
},
groups: {},
modules: { /* METAGEN */ },
// Patterns are module definitions which will be added with
// the default options if a definition is not found. The
// assumption is that the module itself will be in the default
// location, and if there are any additional dependencies, they
// will have to be fetched with a second request. This could
// happen multiple times, each segment resulting in a new
// dependency list.
//
// types: regex, prefix, function
patterns: {
// 'gallery-': {
// group: 'gallery'
// ext: false
// filter: {
// 'searchExp': VERSION,
// 'replaceStr': GALLERY_VERSION
// }
// }
/*
// expand 'lang|module|lang'
'lang|': {
ext: false,
action: function(data) {
// Y.log('testing data: ' + data);
var parts = data.split('|'),
name = parts[1],
lang = parts[2],
packName, mod;
if (lang) {
packName = this.getLangPackName(lang, name);
if ('create' == parts[3]) {
mod = this.getModule(packName);
if (!mod) {
mod = this.getModule(name);
// Y.log('action creating ' + packName);
this._addLangPack(lang, mod, packName);
}
}
this.require(packName);
}
delete this.required[data];
}
}
*/
}
};
patterns: {
'gallery-': {}
},
ext: false,
combine: true,
};
})();