d4r*_*it3 5 javascript coffeescript
我不知道如何在CS中写这个.也许some1可以帮助:
FB.getLoginStatus(function (response) {} , {scope : scope})
谢谢.
你会写一些像这样的CoffeeScript ......
FB.getLoginStatus(
  (response) -> 
    doSomething()
  {scope: scope})
哪个会像这样转换为JavaScript ...
FB.getLoginStatus(function(response) {
  return doSomething();
}, {
  scope: scope
});