22 lines
No EOL
635 B
TypeScript
22 lines
No EOL
635 B
TypeScript
import "sass/repo-page/repo-page.scss";
|
|
import * as angular from "angular";
|
|
|
|
import repoHeader from "./header";
|
|
import repoSidebar from "./sidebar";
|
|
import repoBody 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('rpBody', function(reactDirective, ApiService) {
|
|
return reactDirective(repoBody, undefined, {}, {api: ApiService});
|
|
});
|
|
}
|
|
|
|
|