How to use the licia/contain function in licia

To help you get started, we’ve selected a few licia examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github art-community / ART / application-platform / src / main / web / src / administration / tabs / profiles / store / ProfilesTabComponentStore.jsx View on Github external
addProfile = (profile) => {
        if (isEmpty(profile) || contain(this.profiles, profile)) return false;
        this.profiles.push(profile);
        return true;
    };
github art-community / ART / application-platform / src / main / web / src / administration / tabs / applications / project / controller / ProjectConfigurationComponentController.jsx View on Github external
registry.projectConfiguration.store.project.module.availableEnvironments.forEach(environment => {
                    if (contain(environments, environment)) {
                        newAvailableEnvironments.push(environment);
                    }
                });
                registry.projectConfiguration.store.project.module.availableEnvironments = newAvailableEnvironments;
github art-community / ART / application-platform / src / main / web / src / administration / tabs / applications / project / reactor / ProjectConfigurationComponentReactor.jsx View on Github external
registry.projectConfiguration.store.project.module.availableServers.forEach(server => {
                if (contain(servers, server)) {
                    newAvailableServers.push(server);
                }
            });
            registry.projectConfiguration.store.project.module.availableServers = newAvailableServers;
github art-community / ART / application-platform / src / main / web / src / administration / tabs / applications / project / controller / ProjectConfigurationComponentController.jsx View on Github external
registry.projectConfiguration.store.project.module.availableServers.forEach(server => {
                        if (contain(servers, server)) {
                            newAvailableServers.push(server);
                        }
                    });
                    registry.projectConfiguration.store.project.module.availableServers = newAvailableServers;