src/js/commands/instrument.js
function includedFile(fileName) {
            var relativePath = fileName.substring(appDir.length + 1);
            var result = false;
            for (var i = 0; i < onlyIncludeList.length; i++) {
                var prefix = onlyIncludeList[i];
                if (relativePath.indexOf(prefix) === 0) {
                    result = true;
                    break;
                }
            }
            return result;
        }
function includedFile(fileName) {
            var relativePath = fileName.substring(appDir.length + 1);
            var result = false;
            for (var i = 0; i < onlyIncludeList.length; i++) {
                var prefix = onlyIncludeList[i];
                if (relativePath.indexOf(prefix) === 0) {
                    result = true;
                    break;
                }
            }
            return result;
        }
function includedFile ( fileName ) { var relativePath = fileName . substring ( appDir . length + 1 ) ; var result = false ; for ( var i = 0 ; i < onlyIncludeList . length ; i ++ ) { var prefix = onlyIncludeList [ i ] ; if ( relativePath . indexOf ( prefix ) === 0 ) { result = true ; break ; } } return result ; }
determine if a file is in the include list
@param fileName
@returns {boolean}
determine if a file is in the include list