Lines Matching refs:source
138 function compatibilityFrom(source) { argument
139 return merge(DEFAULTS['*'], calculateSource(source));
142 function merge(source, target) { argument
143 for (var key in source) {
144 if (Object.prototype.hasOwnProperty.call(source, key)) {
145 var value = source[key];
158 function calculateSource(source) { argument
159 if (typeof source == 'object')
160 return source;
162 if (!/[,\+\-]/.test(source))
163 return DEFAULTS[source] || DEFAULTS['*'];
165 var parts = source.split(',');
170 source = {};
178 source[group] = source[group] || {};
179 source[group][option] = isAdd;
182 return merge(template, source);