This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/js/directives/components/pages/repo-page/main.tsx

22 lines
635 B
TypeScript
Raw Normal View History

2016-11-07 22:27:50 +00:00
import "sass/repo-page/repo-page.scss";
2016-10-31 20:21:45 +00:00
import * as angular from "angular";
import repoHeader from "./header";
import repoSidebar from "./sidebar";
2016-11-01 18:42:45 +00:00
import repoBody from "./body";
2016-10-31 20:21:45 +00:00
2016-11-01 06:51:18 +00:00
export function rpDirectives(){
angular.module('quayPages').directive('rpHeader', function(reactDirective) {
return reactDirective(repoHeader);
});
2016-10-31 20:21:45 +00:00
2016-11-01 06:51:18 +00:00
angular.module('quayPages').directive('rpSidebar', function(reactDirective) {
return reactDirective(repoSidebar);
});
angular.module('quayPages').directive('rpBody', function(reactDirective, ApiService) {
return reactDirective(repoBody, undefined, {}, {api: ApiService});
2016-11-01 06:51:18 +00:00
});
}
2016-10-31 20:21:45 +00:00