gitbook-plugin-bugtagszh
Advanced tools
Comparing version 0.0.3 to 0.0.5
@@ -64,3 +64,3 @@ require([ 'gitbook', 'jquery'],function( gitbook, $ ){ | ||
$header.find('li.register,li.log').hide() | ||
var html = '<a href="' + btHost + '" target="_blank">' | ||
var html = '<a href="' + CONFIG.siteHost + '" target="_blank">' | ||
+ '<img src="' + data.avatar + '">' + data.nickname | ||
@@ -304,5 +304,17 @@ + '</a>' | ||
function possibleURLSearch(){ | ||
var q = getParaFromUrl( 'q' ) | ||
if( q ){ | ||
}else{ | ||
// do nothing | ||
} | ||
} | ||
gitbook.events.on('start',function(e, config){ | ||
CONFIG = config.bugtagszh || {} | ||
initUser(); | ||
// ๅฆๆ้พๆฅไธญๅธฆๆๆ็ดขๅ ณ้ฎ่ฏ๏ผๅ้่ฆ่ฟ่กๆ็ดข | ||
possibleURLSearch() | ||
}) | ||
@@ -309,0 +321,0 @@ |
{ | ||
"name": "gitbook-plugin-bugtagszh", | ||
"version": "0.0.3", | ||
"version": "0.0.5", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "gitbook": ">=3.0.0" |
Sorry, the diff of this file is not supported yet
29710
551