mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 09:35:40 -05:00
normalize sql carbon tag (#14445)
This commit is contained in:
@@ -689,7 +689,7 @@ export class SelectBoxList extends Disposable implements ISelectBoxDelegate, ILi
|
||||
}
|
||||
});
|
||||
|
||||
container.innerHTML = this.options[longest]?.text + (!!this.options[longest]?.decoratorRight ? (this.options[longest].decoratorRight + ' ') : ''); // {{ SQL CARBON EDIT }} Don't error if no option found (empty list)
|
||||
container.innerHTML = this.options[longest]?.text + (!!this.options[longest]?.decoratorRight ? (this.options[longest].decoratorRight + ' ') : ''); // {{SQL CARBON EDIT}} Don't error if no option found (empty list)
|
||||
|
||||
elementWidth = dom.getTotalWidth(container);
|
||||
}
|
||||
|
||||
@@ -189,7 +189,7 @@ export class Tree implements _.ITree {
|
||||
return this.model.reveal(element, relativeTop);
|
||||
}
|
||||
|
||||
// {{SQL CARBON EDIT }} - add back deleted VS Code tree methods
|
||||
// {{SQL CARBON EDIT}} - add back deleted VS Code tree methods
|
||||
public getExpandedElements(): any[] {
|
||||
return this.model.getExpandedElements();
|
||||
}
|
||||
@@ -205,7 +205,7 @@ export class Tree implements _.ITree {
|
||||
getContentHeight(): number {
|
||||
return this.view.getContentHeight();
|
||||
}
|
||||
// {{SQL CARBON EDIT }} - end block
|
||||
// {{SQL CARBON EDIT}} - end block
|
||||
|
||||
|
||||
public getHighlight(): any {
|
||||
|
||||
@@ -8,7 +8,7 @@ import * as dom from 'vs/base/browser/dom';
|
||||
const $ = dom.$;
|
||||
|
||||
suite('dom', () => {
|
||||
test.skip('hasClass', () => { //{{SQL CARBON EDIT}} skip test
|
||||
test.skip('hasClass', () => { // {{SQL CARBON EDIT}} skip test
|
||||
|
||||
let element = document.createElement('div');
|
||||
element.className = 'foobar boo far';
|
||||
@@ -21,7 +21,7 @@ suite('dom', () => {
|
||||
assert(!element.classList.contains(''));
|
||||
});
|
||||
|
||||
test.skip('removeClass', () => { //{{SQL CARBON EDIT}} skip test
|
||||
test.skip('removeClass', () => { // {{SQL CARBON EDIT}} skip test
|
||||
|
||||
let element = document.createElement('div');
|
||||
element.className = 'foobar boo far';
|
||||
@@ -54,7 +54,7 @@ suite('dom', () => {
|
||||
assert.equal(element.className, '');
|
||||
});
|
||||
|
||||
test.skip('removeClass should consider hyphens', function () { //{{SQL CARBON EDIT}} skip test
|
||||
test.skip('removeClass should consider hyphens', function () { // {{SQL CARBON EDIT}} skip test
|
||||
let element = document.createElement('div');
|
||||
|
||||
element.classList.add('foo-bar');
|
||||
|
||||
Reference in New Issue
Block a user