Update the services requirejs example
@@ -29,7 +29,7 @@
require.config({
paths: {
'jquery': 'https://code.jquery.com/jquery-2.2.4.min',
- '@jupyterlab/services': 'https://unpkg.com/@jupyterlab/services@^0.34/dist/index',
+ '@jupyterlab/services': 'https://unpkg.com/@jupyterlab/services@^0.48/dist/index',
}
});
</script>
@@ -37,10 +37,10 @@ require(['jquery', '@jupyterlab/services'], function ($, services) {
console.log('Got execute reply');
};
- future.onDone = function () {
+ future.done.then(function () {
console.log('Future is fulfilled');
$('#output').append($('<pre>').text('Done!'));
- };
+ });
@@ -17,7 +17,7 @@
"style-loader": "^0.13.1",
"tslint": "~4.5.0",
"typescript": "~2.4.1",
- "webpack": "~2.2.1"
+ "webpack": "^2.2.1"
},
"version": "0.5.0"