Skip to content

Commit

Permalink
update tree problems sample
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Oct 23, 2018
1 parent c0aae67 commit 56d068e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/vs/base/browser/ui/tree/indexTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

import 'vs/css!./tree';
import 'vs/css!./media/tree';
import { Iterator, ISequence } from 'vs/base/common/iterator';
import { AbstractTree, ITreeOptions } from 'vs/base/browser/ui/tree/abstractTree';
import { ISpliceable } from 'vs/base/common/sequence';
Expand Down
6 changes: 3 additions & 3 deletions test/tree/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
const renderer = {
templateId: 'template',
renderTemplate(container) { return container; },
renderElement(element, index, container) { container.textContent = element; },
renderElement(element, index, container) { container.textContent = element.element; },
disposeElement() { },
disposeTemplate() { }
};
Expand Down Expand Up @@ -159,10 +159,10 @@
const { tree, treeFilter } = createIndexTree();

const files = [];
for (let i = 0; i < 10000; i++) {
for (let i = 0; i < 100000; i++) {
const errors = [];

for (let j = 1; j <= (i % 5) + 1; j++) {
for (let j = 1; j <= 3; j++) {
errors.push({ element: `error #${j}` });
}

Expand Down

0 comments on commit 56d068e

Please sign in to comment.