Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
10 years ago
Diff never expires
Clear
Export
Share
Explain
1 removal
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
29 lines
Copy
7 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
30 lines
Copy
var appc = require('node-appc'),
var appc = require('node-appc'),
windowslib = require('windowslib'),
windowslib = require('windowslib'),
__ = appc.i18n(__dirname).__;
__ = appc.i18n(__dirname).__;
/**
/**
* Defines the --vs-target option.
* Defines the --vs-target option.
*
*
* @param {Number} order - The order to apply to this option.
* @param {Number} order - The order to apply to this option.
*
*
* @returns {Object}
* @returns {Object}
*/
*/
module.exports = function configOptionVisualStudioTarget(order) {
module.exports = function configOptionVisualStudioTarget(order) {
Copy
Copied
Copy
Copied
var defaultTarget =
this.windowsInfo.selectedVisualStudio
? this.windowsInfo.selectedVisualStudio.version : undefined;
var defaultTarget =
(this.windowsInfo &&
this.windowsInfo.selectedVisualStudio
)
? this.windowsInfo.selectedVisualStudio.version : undefined;
var vsTargets = [];
var vsTargets = [];
Copy
Copied
Copy
Copied
for (var version in this.windowsInfo.visualstudio) {
if (this.windowsInfo) {
vsTargets.push(version);
for (var version in this.windowsInfo.visualstudio) {
vsTargets.push(version);
}
}
}
Copy
Copied
Copy
Copied
return {
return {
abbr: 'V',
abbr: 'V',
default: defaultTarget,
default: defaultTarget,
desc: __('the Visual Studio target to build for'),
desc: __('the Visual Studio target to build for'),
order: order,
order: order,
required: true,
required: true,
values: vsTargets
values: vsTargets
};
};
};
};
Saved diffs
Original text
Open file
var appc = require('node-appc'), windowslib = require('windowslib'), __ = appc.i18n(__dirname).__; /** * Defines the --vs-target option. * * @param {Number} order - The order to apply to this option. * * @returns {Object} */ module.exports = function configOptionVisualStudioTarget(order) { var defaultTarget = this.windowsInfo.selectedVisualStudio ? this.windowsInfo.selectedVisualStudio.version : undefined; var vsTargets = []; for (var version in this.windowsInfo.visualstudio) { vsTargets.push(version); } return { abbr: 'V', default: defaultTarget, desc: __('the Visual Studio target to build for'), order: order, required: true, values: vsTargets }; };
Changed text
Open file
var appc = require('node-appc'), windowslib = require('windowslib'), __ = appc.i18n(__dirname).__; /** * Defines the --vs-target option. * * @param {Number} order - The order to apply to this option. * * @returns {Object} */ module.exports = function configOptionVisualStudioTarget(order) { var defaultTarget = (this.windowsInfo && this.windowsInfo.selectedVisualStudio) ? this.windowsInfo.selectedVisualStudio.version : undefined; var vsTargets = []; if (this.windowsInfo) { for (var version in this.windowsInfo.visualstudio) { vsTargets.push(version); } } return { abbr: 'V', default: defaultTarget, desc: __('the Visual Studio target to build for'), order: order, required: true, values: vsTargets }; };
Find difference