Skip to content

Commit a1d4844

Browse files
committed
group the variables together (with booleans after) and fix comma
1 parent b1b9862 commit a1d4844

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/example.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@
6767
window.fbAsyncInit = function() {
6868
FB.init({
6969
appId : '<?php echo $facebook->getAppId(); ?>',
70+
session : <?php echo json_encode($session); ?>, // don't refetch the session when PHP already has it
7071
status : true, // check login status
7172
cookie : true, // enable cookies to allow the server to access the session
72-
xfbml : true // parse XFBML
73-
session : <?php echo json_encode($session); ?>, // don't refetch the session when PHP already has it
73+
xfbml : true // parse XFBML
7474
});
7575

7676
// whenever the user logs in, we refresh the page

0 commit comments

Comments
 (0)