react-social-kr
Advanced tools
Comparing version 1.1.8 to 1.1.9
## react-social-kr | ||
#### 1.1.7 (2018-06-29) | ||
#### 1.1.9 (2018-06-29) | ||
@@ -5,0 +5,0 @@ * KaKaoTalkButton api v1 is deprecated, apply v2 |
@@ -599,3 +599,3 @@ 'use strict'; | ||
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.createDefaultButton({\n container: \'#' + id + '\',\n ' + (this.props.media ? '' : 'objectType: \'text\',') + '\n content: {\n ' + (this.props.media ? 'title:' : 'text:') + ' \'' + message + '\',\n ' + (this.props.media ? 'imageUrl: \'' + this.props.media + '\',' : '') + '\n link: {\n mobileWebUrl: \'' + this.props.getLocation(pathname) + '\',\n webUrl: \'' + this.props.getLocation(pathname) + '\'\n }\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 ' + (this.props.media ? '\n Kakao.Link.createDefaultButton({\n container: \'#' + id + '\',\n objectType: \'feed\',\n content: {\n title: \'' + message + '\',\n imageUrl: \'' + this.props.media + '\',\n link: {\n mobileWebUrl: \'' + this.props.getLocation(pathname) + '\',\n webUrl: \'' + this.props.getLocation(pathname) + '\'\n }\n }\n });\n ' : '\n Kakao.Link.createDefaultButton({\n container: \'#' + id + '\',\n objectType: \'text\',\n text: \'' + message + '\',\n link: {\n mobileWebUrl: \'' + this.props.getLocation(pathname) + '\',\n webUrl: \'' + this.props.getLocation(pathname) + '\'\n }\n });\n ') + '\n }\n\n (function checkKakao() {\n if (typeof Kakao === \'undefined\') { setTimeout(checkKakao, 500); }\n else { KaKaoInit(); }\n })();\n '; | ||
/* eslint-enable */ | ||
@@ -602,0 +602,0 @@ |
{ | ||
"name": "react-social-kr", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "React social buttons and counts for Facebook, Pinterest, Google, Naver, KaKao etc ...", | ||
@@ -5,0 +5,0 @@ "main": "lib/react-social.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37519
712