Sha256: f8126c4800f36dc016c3c01091645b74ce0f684190f728dbea69323e60bc77c2

Contents?: true

Size: 328 Bytes

Versions: 15

Compression:

Stored size: 328 Bytes

Contents

app.controller('TraitCtrl', function ($scope, $stateParams, Documentation) {
  $scope.traitName = $stateParams.trait;
  $scope.apiVersion = $stateParams.version;

  Documentation.trait($stateParams.version, $scope.traitName).then(function(data) {
    $scope.trait = data;
  }, function() {
    $scope.error = true;
  });
});

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
praxis-2.0.pre.9 lib/api_browser/app/js/controllers/trait.js
praxis-2.0.pre.8 lib/api_browser/app/js/controllers/trait.js
praxis-2.0.pre.7 lib/api_browser/app/js/controllers/trait.js
praxis-2.0.pre.6 lib/api_browser/app/js/controllers/trait.js
praxis-2.0.pre.5 lib/api_browser/app/js/controllers/trait.js
praxis-2.0.pre.4 lib/api_browser/app/js/controllers/trait.js
praxis-2.0.pre.3 lib/api_browser/app/js/controllers/trait.js
praxis-2.0.pre.2 lib/api_browser/app/js/controllers/trait.js
praxis-2.0.pre.1 lib/api_browser/app/js/controllers/trait.js
praxis-0.22.pre.2 lib/api_browser/app/js/controllers/trait.js
praxis-0.22.pre.1 lib/api_browser/app/js/controllers/trait.js
praxis-0.21 lib/api_browser/app/js/controllers/trait.js
praxis-0.20.1 lib/api_browser/app/js/controllers/trait.js
praxis-0.20.0 lib/api_browser/app/js/controllers/trait.js
praxis-0.19.0 lib/api_browser/app/js/controllers/trait.js