1try{ 2 if(!eval('facebookjsok')){ 3 var facebookjsok =true; 4 //@2015-04-28 5 try{ 6 if(eval("fbv")) 7 { 8 var fbv = fbv; 9 } 10 }catch(e){ 11 var fbv = '2.0'; 12 } 13 14 try{ 15 if(eval("plus_app_id")) 16 { 17 var plus_app_id = plus_app_id; 18 } 19 }catch(e){ 20 var plus_app_id = ''; 21 } 22 23 try{ 24 if(eval("orderpage")) 25 { 26 var orderpage = orderpage; 27 } 28 }catch(e){ 29 var orderpage = ''; 30 } 31 32 33 window.fbAsyncInit = function() { 34 FB.init({ 35 appId : plus_app_id, //App ID 36 status : true, // check login status 37 cookie : true, // enable cookies to allow the server to access the session 38 xfbml : true, // parse XFBML, 39 oauth : true, 40 version : 'v'+fbv 41 }); 42 43 FB.getLoginStatus(function(response) { 44 if (response.status === 'connected') { 45 FB.api('/me', function(response) { 46 if(response.id)$.cookie('fbuser', response.id); 47 }); 48 } 49 }); 50 51 }; 52 53 54 (function(d, s, id) { 55 var js, fjs = d.getElementsByTagName(s)[0]; 56 if (d.getElementById(id)) return; 57 js = d.createElement(s); js.id = id; 58 js.src = "//connect.facebook.net/" + facebook_language() + "/sdk.js"; 59 fjs.parentNode.insertBefore(js, fjs); 60 }(document, 'script', 'facebook-jssdk')); 61 62 63 function initializeFbTokenValues() { 64 fbId = ""; 65 fbAccessToken = ""; 66 } 67 function initializeFbUserValues() { 68 fbUid = ""; 69 fbName = ""; 70 } 71 function facebook_language(){ 72 var fbLang = 'ko_KR'; 73 if (gl_language){ 74 switch (gl_language){ 75 case 'CN': fbLang = 'zh_CN'; break; 76 case 'US': fbLang = 'en_US'; break; 77 case 'JP': fbLang = 'ja_JP'; break; 78 } 79 } 80 81 return fbLang; 82 } 83 } 84} catch (facebookjsok) { 85}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.