Sha256: 09037d6ec48a99e22fd81e2995b01147692fb08693e77943dae1c14618560c16

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

(function(conjur) {
    'use strict';

    conjur.models.VariableList = function() {
        var options = {
            filter: function(member) {
                var idTokens = member.id.split(':');
                var id = idTokens[idTokens.length-1];
                return id.split('/').length > 1;
            }
        };

        return conjur.models.ResourceList('variable', options);
    };

})(conjur);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conjur-asset-ui-1.3.2 public/js/models/variableList.js
conjur-asset-ui-1.3.0 public/js/models/variableList.js