forked from prettydiff/prettydiff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettydiffrc
46 lines (38 loc) · 1.27 KB
/
.prettydiffrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//JSON format is supported, so please feel free to replace the contents of this file with JSON
//http://prettydiff.com/.prettydiffrc
//Options are passed in as "option". You can define the options directly:
//
//option.mode = "minify";
//
//Instead, you can also define the values using logic:
//
//if (option.mode === "beautify" || option.lang === "auto") {
// option.wrap = 120;
//}
var preset = function (option) {
"use strict";
// edit below this line
option.help = true;
// edit above this line
return option;
};
if (typeof exports === "object" || typeof exports === "function") {
//commonjs and nodejs support
exports.preset = function preset_commonjs(x) {
"use strict";
return preset(x);
};
} else if ((typeof define === "object" || typeof define === "function") && (ace === undefined || ace.createEditSession === undefined)) {
//requirejs support
define(function preset_requirejs(require, exports) {
"use strict";
exports.preset = function preset_requirejs_export(x) {
return preset(x);
};
//worthless if block to appease RequireJS and JSLint
if (typeof require === "number") {
return require;
}
return exports.preset;
});
}