From d938af335f5268dc3f252ffd6250aac3ff754f64 Mon Sep 17 00:00:00 2001 From: dixyes Date: Mon, 23 Oct 2017 20:02:22 +0800 Subject: [PATCH] change url in packege.json --- index.js | 4 ++-- package.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index b54c9f8..0a153cc 100644 --- a/index.js +++ b/index.js @@ -125,7 +125,7 @@ hexo.extend.tag.register('dplayer', (args) => { opt.url = urlFn.resolve(hexo.config.root, asset.path); } } - raw += ''; + ');' + (opt.code || def.code || '') + '})()'; //console.log(opt.code,def.code,(opt.code || def.code || '')) } else{ diff --git a/package.json b/package.json index 93f67a3..00974b3 100644 --- a/package.json +++ b/package.json @@ -18,12 +18,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/NextMoe/hexo-tag-dplayer.git" + "url": "git+https://github.com/MoePlayer/hexo-tag-dplayer.git" }, "bugs": { - "url": "https://github.com/NextMoe/hexo-tag-dplayer/issues" + "url": "https://github.com/MoePlayer/hexo-tag-dplayer/issues" }, - "homepage": "https://github.com/NextMoe/hexo-tag-dplayer#readme", + "homepage": "https://github.com/MoePlayer/hexo-tag-dplayer#readme", "dependencies": { "dplayer": "^1.6.0", "hexo-fs": "^0.1.6",