liberty-prettydiff
Version:
Language aware code comparison tool for several web based languages. It also beautifies, minifies, and a few other things.
46 lines (37 loc) • 1.39 kB
Plain Text
//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;
//}
(function prettydiffrc_init() {
"use strict";
var prettydiffrc = function prettydiffrc(option) {
// edit below this line
// edit above this line
return option;
};
if (typeof module === "object" && typeof module.parent === "object") {
//commonjs and nodejs support
module.exports = prettydiffrc;
} else if ((typeof define === "object" || typeof define === "function") && (typeof ace !== "object" || ace.prettydiffid === undefined)) {
//requirejs support
define(function requirejs(require, module) {
module.exports = prettydiffrc;
//worthless if block to appease RequireJS and JSLint
if (typeof require === "number") {
return require;
}
return function requirejs_prettydiffrc_module(x) {
prettydiffrc(x);
};
});
} else {
global.prettydiff.prettydiffrc = prettydiffrc;
}
}());