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
2016-11-01 14:28:27 -04:00

21 lines
No EOL
549 B
TypeScript

import * as angular from "angular";
import repoHeader from "./header";
import repoSidebar from "./sidebar";
import repoMain from "./body";
export function rpDirectives(){
angular.module('quayPages').directive('rpHeader', function(reactDirective) {
return reactDirective(repoHeader);
});
angular.module('quayPages').directive('rpSidebar', function(reactDirective) {
return reactDirective(repoSidebar);
});
angular.module('quayPages').directive('rpMain', function(reactDirective) {
return reactDirective(repoMain);
});
}