[turbolizer] Remove console.log statements
Notry: true Change-Id: I4de1f561682e8ad7fac0358c259efa44559c1389 Bug: v8:7327 Reviewed-on: https://chromium-review.googlesource.com/c/1347477 Reviewed-by: Georg Neis <neis@chromium.org> Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Cr-Commit-Position: refs/heads/master@{#57718}
This commit is contained in:
parent
9b0e4e132f
commit
9f19d97d7f
@ -2,9 +2,9 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import {PROF_COLS, UNICODE_BLOCK} from "../src/constants"
|
||||
import {SelectionBroker} from "../src/selection-broker"
|
||||
import {TextView} from "../src/text-view"
|
||||
import { PROF_COLS, UNICODE_BLOCK } from "../src/constants"
|
||||
import { SelectionBroker } from "../src/selection-broker"
|
||||
import { TextView } from "../src/text-view"
|
||||
|
||||
export class DisassemblyView extends TextView {
|
||||
SOURCE_POSITION_HEADER_REGEX: any;
|
||||
@ -35,13 +35,11 @@ export class DisassemblyView extends TextView {
|
||||
const offset = Number.parseInt(matches.groups["offset"], 16);
|
||||
if (!Number.isNaN(offset)) {
|
||||
const [nodes, blockId] = sourceResolver.nodesForPCOffset(offset)
|
||||
console.log("nodes for", offset, offset.toString(16), " are ", nodes);
|
||||
if (nodes.length > 0) {
|
||||
for (const nodeId of nodes) {
|
||||
view.addHtmlElementForNodeId(nodeId, fragment);
|
||||
}
|
||||
return (e) => {
|
||||
console.log(offset, nodes);
|
||||
e.stopPropagation();
|
||||
if (!e.shiftKey) {
|
||||
view.selectionHandler.clear();
|
||||
|
@ -34,7 +34,6 @@ export class Tabs {
|
||||
activateTab(tab: HTMLLIElement) {
|
||||
if (typeof tab.dataset.divid !== "string") return;
|
||||
for (const li of this.tabBar.querySelectorAll<HTMLLIElement>("li.active")) {
|
||||
console.log(li)
|
||||
li.classList.remove("active");
|
||||
this.showTab(li, false);
|
||||
}
|
||||
@ -75,7 +74,6 @@ export class Tabs {
|
||||
|
||||
tabBarOnDrop(e) {
|
||||
e.preventDefault();
|
||||
console.log("ondrop", e.dataTransfer.getData("text"), e);
|
||||
const tabId = e.dataTransfer.getData("text");
|
||||
const tab = document.getElementById(tabId) as HTMLLIElement;
|
||||
if (tab.parentNode != this.tabBar) {
|
||||
@ -94,7 +92,6 @@ export class Tabs {
|
||||
|
||||
tabOnDragStart(e) {
|
||||
e.dataTransfer.setData("text", e.target.id);
|
||||
console.log("ondragstart", e.target, e)
|
||||
}
|
||||
|
||||
tabBarOnClick(e: MouseEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user