Lines Matching full:source
83 function formatFrom(source) { argument
84 if (source === undefined || source === false) {
88 if (typeof source == 'object' && 'breakWith' in source) {
89 source = override(source, { breakWith: mapBreakWith(source.breakWith) });
92 if (typeof source == 'object' && 'indentBy' in source) {
93 source = override(source, { indentBy: parseInt(source.indentBy) });
96 if (typeof source == 'object' && 'indentWith' in source) {
97 source = override(source, { indentWith: mapIndentWith(source.indentWith) });
100 if (typeof source == 'object') {
101 return override(DEFAULTS, source);
104 if (typeof source == 'object') {
105 return override(DEFAULTS, source);
108 if (typeof source == 'string' && source == BEAUTIFY_ALIAS) {
116 if (typeof source == 'string' && source == KEEP_BREAKS_ALIAS) {
129 if (typeof source == 'string') {
130 return override(DEFAULTS, toHash(source));