Skip to content

Commit

Permalink
💄 clearly show which version was loaded in console
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Aug 27, 2017
1 parent bb5c33e commit 5f60cf6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion echarts/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var version = '1.0.2';
function load_ipython_extension() {
console.log("jupyter-echarts has been loaded");
console.log("jupyter-echarts " + version + " (echarts 3.6.2) has been loaded");
}
exports.load_ipython_extension = load_ipython_extension;
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jupyter-echarts",
"version": "1.0.1",
"version": "1.0.2",
"description": "Bring echarts libraries to jupyter notebooks",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
var version = '1.0.2';

export function load_ipython_extension(){
console.log("jupyter-echarts has been loaded");
console.log("jupyter-echarts " + version + " (echarts 3.6.2) has been loaded");
}

0 comments on commit 5f60cf6

Please sign in to comment.