normalize sql carbon tag (#14445)

This commit is contained in:
Aditya Bist
2021-02-25 13:32:12 -08:00
committed by GitHub
parent b28e845506
commit 2a125ee43b
35 changed files with 57 additions and 57 deletions

View File

@@ -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);
}

View File

@@ -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 {

View File

@@ -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');