Sha256: 773df6cb170d316574a13892546c5f6fd1f7780d7e17bfd8e2e53f7fe194176c

Contents?: true

Size: 366 Bytes

Versions: 11

Compression:

Stored size: 366 Bytes

Contents

app.directive('conditionalRequirements', function() {
  return {
    restrict: 'E',
    scope: {
      requirements: '=',
    },
    templateUrl: 'views/types/embedded/requirements.html',
    link: function(scope, element, attrs) {
      // Reject requirements of type "all"
      scope.condRequirements = _.reject(scope.requirements, {type: 'all'});
    }
  };
});

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
praxis-2.0.pre.9 lib/api_browser/app/js/directives/conditional_requirements.js
praxis-2.0.pre.8 lib/api_browser/app/js/directives/conditional_requirements.js
praxis-2.0.pre.7 lib/api_browser/app/js/directives/conditional_requirements.js
praxis-2.0.pre.6 lib/api_browser/app/js/directives/conditional_requirements.js
praxis-2.0.pre.5 lib/api_browser/app/js/directives/conditional_requirements.js
praxis-2.0.pre.4 lib/api_browser/app/js/directives/conditional_requirements.js
praxis-2.0.pre.3 lib/api_browser/app/js/directives/conditional_requirements.js
praxis-2.0.pre.2 lib/api_browser/app/js/directives/conditional_requirements.js
praxis-2.0.pre.1 lib/api_browser/app/js/directives/conditional_requirements.js
praxis-0.22.pre.2 lib/api_browser/app/js/directives/conditional_requirements.js
praxis-0.22.pre.1 lib/api_browser/app/js/directives/conditional_requirements.js