Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Conversation

rfougier
Copy link
Contributor

@rfougier rfougier commented Jun 19, 2018

/#!/ovh-ui-angular/header-tabs @ ovh_ui_kit_documentation-feat_oui_header_tabs_staging

Linked to
ovh/ovh-ui-kit#221
ovh-ux/ovh-ui-kit-documentation#121

### Normal

```html:preview
<div class="oui-doc-preview-only-keep-children">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the purpose of this <div> ?
It seems useless, since it has no style or init.

return {
restrict: "E",
template,
replace: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly, it's deprecated. A previous decision was made to not use it.
We should use another way like .replaceWith() for example: https://docs.angularjs.org/api/ng/function/angular.element

return {
restrict: "E",
template,
replace: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@rfougier rfougier force-pushed the feat/oui-header-tabs branch from af9ef46 to 3cb4181 Compare June 21, 2018 19:33
@rfougier rfougier force-pushed the feat/oui-header-tabs branch from 3cb4181 to f803b85 Compare June 21, 2018 20:09
@rfougier rfougier merged commit ad07640 into develop Jun 21, 2018
@rfougier rfougier deleted the feat/oui-header-tabs branch June 21, 2018 20:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

4 participants