Skip to content

Commit

Permalink
remove dependence on _.clone
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Sep 26, 2017
1 parent bdd0966 commit 62f94f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions notebook/static/notebook/js/outputarea.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

define([
'jquery',
'underscore',
'base/js/utils',
'base/js/i18n',
'base/js/security',
Expand All @@ -12,7 +11,7 @@ define([
'notebook/js/mathjaxutils',
'notebook/js/object-to-preact',
'components/marked/lib/marked',
], function($, _, utils, i18n, security, keyboard, configmod, mathjaxutils, otp, marked) {
], function($, utils, i18n, security, keyboard, configmod, mathjaxutils, otp, marked) {
"use strict";

/**
Expand Down Expand Up @@ -711,7 +710,7 @@ define([
);

element.append(toinsert);
preact.render(otp.objectToPreactElement(_.clone(vdom)), toinsert[0]);
preact.render(otp.objectToPreactElement(vdom), toinsert[0]);

return toinsert;
};
Expand Down

0 comments on commit 62f94f2

Please sign in to comment.