alsotang / node-lessons

:closed_book:《Node.js 包教不包会》 by alsotang
16.54k stars 4.7k forks source link

lesson 4 中的 fuck 是什么意思? #91

Closed HaloWang closed 8 years ago

HaloWang commented 8 years ago
// 参考 jquery 的 $.get 的方法
$.get("http://data1_source", function (data1) {
  // something
  $.get("http://data2_source", function (data2) {
    // something
    $.get("http://data3_source", function (data3) {
      // something
      var html = fuck(data1, data2, data3);
      render(html);
    });
  });
});

上述的代码大家都写过吧。先获取 data1,获取完成之后获取 data2,然后再获取 data3,然后 fuck 它们,进行输出。

jquery 中有 fuck 这个函数吗?

不会是字面意思吧😂

alsotang commented 8 years ago

jquery如果有这个函数的话,调用的时候是 $.fuck

2016-04-05 13:20 GMT+08:00 WangCe notifications@github.com:

// 参考 jquery 的 $.get 的方法 $.get("http://data1_source", function (data1) { // something $.get("http://data2_source", function (data2) { // something $.get("http://data3_source", function (data3) { // something var html = fuck(data1, data2, data3); render(html); }); }); });

上述的代码大家都写过吧。先获取 data1,获取完成之后获取 data2,然后再获取 data3,然后 fuck 它们,进行输出。

jquery 中有 fuck 这个函数吗?

不会是字面意思吧😂

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/alsotang/node-lessons/issues/91

hkjpotato commented 8 years ago

lz坏坏