%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/old/home/stash/stash/atlassian-stash/static/page/compare/
Upload File :
Create Path :
Current File : //proc/985914/root/data/old/home/stash/stash/atlassian-stash/static/page/compare/compare.js

define('page/compare', [
    'jquery',
    'feature/compare',
    'exports'
], function(
    $,
    Compare,
    exports
    ) {

    "use strict";

    /**
     * Init the compare view
     *
     * @param {Object} targetRepository                 - The initial state for the target selector
     * @param {Object} sourceRepository                 - The initial state for the source selector
     * @param {Object} tabs                             - Functions to init a tab when it is selected
     * @returns {*}
     */
    exports.onReady = function(targetRepository, sourceRepository, tabs) {
        var opts = {
            targetRepositoryJson: targetRepository,
            sourceRepositoryJson: sourceRepository,
            tabs: tabs
        };
        return Compare.onReady($('#branch-compare'), opts);
    };
});

Zerion Mini Shell 1.0