Skip to content

Commit

Permalink
Update the version number
Browse files Browse the repository at this point in the history
  • Loading branch information
DremyGit committed Jun 13, 2017
1 parent f1be589 commit 43ec770
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"default_locale": "en",
"description": "翻译来自Bing词典,可自动识别中英互译,可将翻译结果直接插入到页面内容之中",
"short_name": "__MSG_shortName__",
"version": "1.2.2",
"version": "1.3.0",
"icons": {
"128": "icon.png"
},
Expand Down
4 changes: 3 additions & 1 deletion app/scripts/popup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import 'es6-promise';
import search from '../search';
import { saveKey2Storage, findKeyFromStorage, key2KeyName, keyName2Key} from '../common/key';

const version = '1.3.0';

var input = document.getElementById('text');

function buildResultHtml(result) {
Expand Down Expand Up @@ -48,7 +50,7 @@ input.onkeydown = function (e) {
};

document.getElementById('about').onclick = function about() {
setStateHtml('<ul><li>Chrome Bing Dict</li><li>开发: Dremy</li><li>版本: v1.2.2</li></ul>');
setStateHtml(`<ul><li>Chrome Bing Dict</li><li>开发: Dremy</li><li>版本: v${version}</li></ul>`);
};
document.getElementById('setting').onclick = function setting() {
var settingHtml = '' +
Expand Down

0 comments on commit 43ec770

Please sign in to comment.