Skip to content

Commit 643a45b

Browse files
committed
Remove AzureML scripts from extension
1 parent 32dfda2 commit 643a45b

File tree

8 files changed

+1
-231
lines changed

8 files changed

+1
-231
lines changed

build/webpack/webpack.datascience-ui.config.builder.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,6 @@ function buildConfiguration(isNotebook) {
105105
{
106106
from: path.join(constants.ExtensionRootDir, 'node_modules/font-awesome/**/*'),
107107
to: path.join(constants.ExtensionRootDir, 'out', 'datascience-ui', 'common', 'node_modules')
108-
},
109-
{
110-
from: path.join(constants.ExtensionRootDir, 'out/ipywidgets/azureml/azuremlindex.js'),
111-
to: path.join(constants.ExtensionRootDir, 'out', 'datascience-ui', bundleFolder)
112-
},
113-
{
114-
from: path.join(constants.ExtensionRootDir, 'out/ipywidgets/azureml/azuremlregistration.js'),
115-
to: path.join(constants.ExtensionRootDir, 'out', 'datascience-ui', bundleFolder)
116108
}
117109
]
118110
);

src/client/datascience/interactive-ipynb/nativeEditor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ export class NativeEditor extends InteractiveBase implements INotebookEditor {
202202
nativeEditorDir,
203203
[
204204
path.join(nativeEditorDir, 'require.js'),
205-
path.join(nativeEditorDir, 'azuremlregistration.js'),
206205
path.join(nativeEditorDir, 'ipywidgets.js'),
207206
path.join(nativeEditorDir, 'monaco.bundle.js'),
208207
path.join(nativeEditorDir, 'commons.initial.bundle.js'),

src/client/datascience/interactive-window/interactiveWindow.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ export class InteractiveWindow extends InteractiveBase implements IInteractiveWi
133133
historyReactDir,
134134
[
135135
path.join(historyReactDir, 'require.js'),
136-
path.join(historyReactDir, 'azuremlregistration.js'),
137136
path.join(historyReactDir, 'ipywidgets.js'),
138137
path.join(historyReactDir, 'monaco.bundle.js'),
139138
path.join(historyReactDir, 'commons.initial.bundle.js'),

src/client/datascience/ipywidgets/ipyWidgetScriptSource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export class IPyWidgetScriptSource implements IInteractiveWindowListener, ILocal
195195
*/
196196
private async sendWidgetSource(moduleName: string, moduleVersion: string) {
197197
// Standard widgets area already available, hence no need to look for them.
198-
if (moduleName.startsWith('@jupyter') || moduleName === 'azureml_widgets') {
198+
if (moduleName.startsWith('@jupyter')) {
199199
return;
200200
}
201201
if (!this.notebook || !this.scriptProvider) {

src/ipywidgets/scripts/copyfiles.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@
66
const path = require('path');
77
const fs = require('fs');
88
const outputDir = path.join(__dirname, '..', '..', '..', 'out/ipywidgets');
9-
const azureMLDir = path.join(outputDir, 'azureml');
109

1110
if (!fs.existsSync(outputDir)) {
1211
fs.mkdirSync(outputDir);
1312
}
14-
if (!fs.existsSync(azureMLDir)) {
15-
fs.mkdirSync(azureMLDir);
16-
}
1713
fs.copyFileSync(path.join(__dirname, '../src/widgets.css'), path.join(outputDir, 'widgets.css'));
18-
fs.copyFileSync(path.join(__dirname, '../src/azureml/index.js'), path.join(azureMLDir, 'azuremlindex.js'));
19-
fs.copyFileSync(path.join(__dirname, '../src/azureml/registration.js'), path.join(azureMLDir, 'azuremlregistration.js'));

src/ipywidgets/src/azureml/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/ipywidgets/src/azureml/index.js

Lines changed: 0 additions & 192 deletions
This file was deleted.

src/ipywidgets/src/azureml/registration.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)