react-social-kr
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -585,4 +585,6 @@ 'use strict'; | ||
pathname = _props.pathname; | ||
/* eslint-disable */ | ||
var jsCode = '\n function KaKaoInit() {\n Kakao.cleanup();\n Kakao.init(\'' + jsKey + '\');\n console.log(\'Kakao button initial\');\n console.log(Kakao);\n Kakao.Link.createTalkLinkButton({\n container: \'#' + id + '\',\n image: {\n src: \'http://dn.api1.kage.kakao.co.kr/14/dn/btqaWmFftyx/tBbQPH764Maw2R6IBhXd6K/o.jpg\',\n width: \'300\',\n height: \'200\'\n },\n webButton: {\n text: \'' + message + '\',\n url: \'' + this.props.getLocation(pathname) + '\'\n }\n });\n }\n\n (function checkKakao() {\n if (typeof Kakao === \'undefined\') { setTimeout(checkKakao, 500); }\n else { KaKaoInit(); }\n })();\n '; | ||
var jsCode = '\n function KaKaoInit() {\n Kakao.cleanup();\n Kakao.init(\'' + jsKey + '\');\n console.log(\'Kakao button initial\');\n console.log(Kakao);\n Kakao.Link.createTalkLinkButton({\n container: \'#' + id + '\',\n ' + (this.props.media ? 'image: { src: \'' + this.props.media + '\', width: \'300\', height: \'200\' },' : '') + '\n webButton: {\n text: \'' + message + '\',\n url: \'' + this.props.getLocation(pathname) + '\'\n }\n });\n }\n\n (function checkKakao() {\n if (typeof Kakao === \'undefined\') { setTimeout(checkKakao, 500); }\n else { KaKaoInit(); }\n })();\n '; | ||
/* eslint-enable */ | ||
@@ -589,0 +591,0 @@ if (!document.getElementById('KakaoScript')) { |
{ | ||
"name": "react-social-kr", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "React social buttons and counts for Facebook, Pinterest, Google, Naver, KaKao etc ...", | ||
@@ -5,0 +5,0 @@ "main": "lib/react-social.js", |
690
36039