Skip to content

Commit

Permalink
Backout changes to i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
sc1f committed Oct 29, 2020
1 parent fc1ddab commit eb08cee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 6 additions & 0 deletions docs/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
"node_modules/react/README": {
"title": "node_modules/react/README"
},
"obj/perspective-python": {
"title": "perspective-python API"
},
"obj/perspective-viewer": {
"title": "perspective-viewer API"
},
"obj/perspective": {
"title": "perspective API"
},
Expand Down
1 change: 0 additions & 1 deletion packages/perspective-jupyterlab/src/ts/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export class PerspectiveJupyterClient extends Client {
* @param msg {any} the message to pass to the `PerspectiveManager`.
*/
send(msg: any): void {
console.log("SENDING", msg);
// Handle calls to `update` with a binary by setting `binary_length`
// to true, so the kernel knows to handle the arraybuffer properly.
if (msg.method === "update" && msg.args.length === 2 && msg.args[0] instanceof ArrayBuffer) {
Expand Down
6 changes: 0 additions & 6 deletions packages/perspective-jupyterlab/src/ts/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,6 @@ export class PerspectiveView extends DOMWidgetView {
const kernel_table: Table = this.perspective_client.open_table(msg.data["table_name"]);
const kernel_view: View = kernel_table.view();

console.log(kernel_view);

// If the widget is editable, set up client/server editing
if (this.pWidget.editable) {
let worker: PerspectiveWorker;
Expand All @@ -284,8 +282,6 @@ export class PerspectiveView extends DOMWidgetView {
Promise.all([this.pWidget.load(client_table), this.pWidget.getEditPort(), kernel_table.make_port()]).then(ports => {
client_edit_port = ports[1];
server_edit_port = ports[2];

console.log(ports[1], ports[2]);
});

/**
Expand All @@ -295,7 +291,6 @@ export class PerspectiveView extends DOMWidgetView {
client_view.on_update(
updated => {
if (updated.port_id === client_edit_port) {
console.log("CLIENT UPDATE");
kernel_table.update(updated.delta, {
port_id: server_edit_port
});
Expand All @@ -312,7 +307,6 @@ export class PerspectiveView extends DOMWidgetView {
kernel_view.on_update(
updated => {
if (updated.port_id !== server_edit_port) {
console.log("KERNEL UPDATE");
client_table.update(updated.delta); // any port, we dont care
}
},
Expand Down

0 comments on commit eb08cee

Please sign in to comment.