Sha256: 92faaec9bbd20491fa34d623e960a57391fd96fa039c58fa992c56654fb6febe

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

I"(function() {
  angular.module("Editor").controller("GitCtrl", [
    "$scope", "Restangular", function($scope, Restangular) {
      console.log('GitCtrl');
      $scope.commits = [];
      $scope.fromNow = function(datetime) {
        return moment(datetime).startOf().fromNow();
      };
      return Restangular.one("commits").get().then((function(data) {
        console.log(data);
        return $scope.commits = data;
      }), function(error) {
        return console.log(error);
      });
    }
  ]);

}).call(this);
:ET

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sedge_cms-0.0.1 test/dummy/tmp/cache/assets/development/sprockets/v3.0/S8-n07W5m7ags3b3ElRzAOPAfhohQqxyT5DccjcCMO8.cache