apache / cordova-coho

@@ -74,9 +74,9 @@
Loading
74 74
75 75
    if (ret) {
76 76
        if (lastBest) {
77 -
            return [ ret, lastBest ];
77 +
            return [ret, lastBest];
78 78
        } else {
79 -
            return [ ret ];
79 +
            return [ret];
80 80
        }
81 81
    } else {
82 82
        return null;

@@ -441,19 +441,19 @@
Loading
441 441
    otherRepos);
442 442
443 443
var repoGroups = {
444 -
    'all': allRepos,
445 -
    'platform': platformRepos,
446 -
    'platforms': platformRepos,
447 -
    'plugin': pluginRepos,
448 -
    'plugins': pluginRepos,
449 -
    'tools': toolRepos,
444 +
    all: allRepos,
445 +
    platform: platformRepos,
446 +
    platforms: platformRepos,
447 +
    plugin: pluginRepos,
448 +
    plugins: pluginRepos,
449 +
    tools: toolRepos,
450 450
    'active-platform': platformRepos.filter(function (r) { return !r.inactive; }),
451 451
    'active-platforms': platformRepos.filter(function (r) { return !r.inactive; }),
452 452
    'active-plugins': pluginRepos.filter(function (r) { return !r.inactive; }),
453 453
    'release-repos': allRepos.filter(function (r) { return !r.inactive; })
454 454
};
455 -
repoGroups['cadence'] = repoGroups['active-platform'].concat([getRepoById('mobile-spec'), getRepoById('app-hello-world')]);
456 -
repoGroups['nightly'] = repoGroups['active-platform'].concat([getRepoById('cli'), getRepoById('lib')]);
455 +
repoGroups.cadence = repoGroups['active-platform'].concat([getRepoById('mobile-spec'), getRepoById('app-hello-world')]);
456 +
repoGroups.nightly = repoGroups['active-platform'].concat([getRepoById('cli'), getRepoById('lib')]);
457 457
458 458
repoGroups.__defineGetter__('auto', function () {
459 459
    return allRepos.filter(function (repo) {

@@ -50,7 +50,6 @@
Loading
50 50
// and the new version as value
51 51
// ex {android:4.0.0}
52 52
function updatePlatformsConfig (newValues) {
53 -
54 53
    var platformsConfig = path.join(repoutil.getRepoDir(repoutil.getRepoById('lib')),
55 54
        'src/platforms/platformsConfig.json');
56 55
    var platformsJS = require(platformsConfig);
@@ -155,7 +154,7 @@
Loading
155 154
                var data = fs.readFileSync(xmlFile, { encoding: 'utf-8' });
156 155
                xml2js.parseString(data, { async: false }, function (err, xml) {
157 156
                    if (err) throw err;
158 -
                    var prev_version = xml.plugin['$'].version;
157 +
                    var prev_version = xml.plugin.$.version;
159 158
                    shelljs.sed('-i', new RegExp('version="' + prev_version + '"', 'i'), 'version="' + version + '"', xmlFile);
160 159
                });
161 160
            } else {
Files Coverage
src 58.99%
Project Totals (8 files) 58.99%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading