21 lines
No EOL
549 B
TypeScript
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);
|
|
});
|
|
}
|
|
|
|
|