chore: Format newly added files in rose
This commit is contained in:
1 parent
3425dc89be
commit
cf40b53fd0
4 files changed
+8
-9
No files matched your search
@@ -4,12 +4,11 @@ import { computed } from '@ember/object';
|
||||
|
||||
export default Component.extend({
|
||||
layout,
|
||||
classNameBindings: [
|
||||
'cellStyle',
|
||||
'cellSizeStyle',
|
||||
],
|
||||
classNameBindings: ['cellStyle', 'cellSizeStyle'],
|
||||
cellStyle: computed(function () {
|
||||
return this.tagName.match('th') ? `rose-table-header-cell` : 'rose-table-cell';
|
||||
return this.tagName.match('th')
|
||||
? `rose-table-header-cell`
|
||||
: 'rose-table-cell';
|
||||
}),
|
||||
cellSizeStyle: computed(function () {
|
||||
return this.style ? `rose-table-cell-${this.style}` : '';
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
& > * {
|
||||
vertical-align: inherit;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[class*='rose-button'] {
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from 'rose/components/rose/table/row/cell';
|
||||
export { default } from 'rose/components/rose/table/row/cell';
|
||||
@@ -3,10 +3,10 @@ import { setupRenderingTest } from 'ember-qunit';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import { hbs } from 'ember-cli-htmlbars';
|
||||
|
||||
module('Integration | Component | rose/table/row/cell', function(hooks) {
|
||||
module('Integration | Component | rose/table/row/cell', function (hooks) {
|
||||
setupRenderingTest(hooks);
|
||||
|
||||
test('it renders', async function(assert) {
|
||||
test('it renders', async function (assert) {
|
||||
// Set any properties with this.set('myProperty', 'value');
|
||||
// Handle any actions with this.set('myAction', function(val) { ... });
|
||||
|
||||
|
||||
Reference in new issue
Block a user