![Filipa Lacerda](/assets/img/avatar_default.png)
Removes set favicon related methods from global scope Improves test related with favicon Removes convertPermissionToBoolean from global scope. Adds tests for convertPermissionToBoolean - were non existant Removes setParamInURL from gl.utils Removes parseIntPagination from gl.utils namespace Remove normalizeCRLFHeaders from gl.utils namespace Removes normalizeHeaders from gl.utils namespace Use gl.utils for filtered search Fix bad import Fix broken test by cleaning window.history namespace Adds changelog
15 lines
431 B
JavaScript
15 lines
431 B
JavaScript
import LinkedTabs from './lib/utils/bootstrap_linked_tabs';
|
|
import { setCiStatusFavicon } from './lib/utils/common_utils';
|
|
|
|
export default class Pipelines {
|
|
constructor(options = {}) {
|
|
if (options.initTabs && options.tabsOptions) {
|
|
// eslint-disable-next-line no-new
|
|
new LinkedTabs(options.tabsOptions);
|
|
}
|
|
|
|
if (options.pipelineStatusUrl) {
|
|
setCiStatusFavicon(options.pipelineStatusUrl);
|
|
}
|
|
}
|
|
}
|