1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 18:02:54 +01:00

code cleanup

This commit is contained in:
Randy Edmunds 2015-08-09 16:44:39 -07:00
parent 61c1c99754
commit be9137c6d7

View File

@ -428,12 +428,9 @@ define(function (require, exports, module) {
/**
* @private
* OS-specific helper for `compareFilenames()`
* @param {string} filename1
* @param {string} filename2
* @param {string} lang Locale
* @return {number} The result of the compare function
* @return {Function} The OS-specific compare function
*/
var _cmpNames = (function (filename1, filename2, lang) {
var _cmpNames = (function () {
if (brackets.platform === "win") {
// Use this function on Windows
return function (filename1, filename2, lang) {