Sha256: 4d369374c8ebe9f8bf6319c3b920f864c823291c670a94d2f157eb71152c8cec

Contents?: true

Size: 673 Bytes

Versions: 2

Compression:

Stored size: 673 Bytes

Contents

(function(){

  'use strict';

  var module = angular.module('herald.artifact', [
    'herald.artifact.artifact-directive'
  ]);

  module.controller('ArtifactController', ['$http', function($http) {
    this.version  = '0.0.0';
    this.homepage = '#';
    this.summary  = null;
    this.package  = null;
    this.license  = null;
    this.name     = null;

    var self = this;

    $http.get('/version.json').success(function(data) {
      self.version  = data.version;
      self.homepage = data.homepage;
      self.summary  = data.summary;
      self.package  = data.package;
      self.license  = data.license;
      self.name     = data.name;
    });
  }]);

})();

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puppet-herald-0.8.1 lib/puppet-herald/public/components/artifact/artifact.js
puppet-herald-0.8.0 lib/puppet-herald/public/components/artifact/artifact.js