i**i 发帖数: 1500 | 1 1 没必要用啥库了。
2 要判断tree遍历结束。
随便写了一个:
var treeBuilder = (function () {
var count = 0;
var tree = {};
return {
setRoot: function (root) {
tree[root] = {};
this.grow(tree[root], root);
return this;
},
onDone: function (cb) {
this._cb = cb;
return this;
},
grow: function (root, branch) {
console.log("add: " + branch);
var self = this;
count++;
f... 阅读全帖 |
|
L********t 发帖数: 316 | 2 London都分好多accent,有啲好posh有啲就一聽就知系貧民區出嚟嘅.
之前系英國住個兩年真系聽佢哋accent聽到一舊雲,有啲一開始我仲問,佢系咪講緊英
文啊? 點解我一個字都聽唔明? 哈哈
反而我覺得美國啲口音好啲,起碼冇聽得咁辛苦. 不過應該話好彩CT呢度啲accent
唔系好西利. |
|
|
a****g 发帖数: 8131 | 4 早上的事情了
ONDON (MarketWatch) -- Fitch Ratings on Wednesday lifted its long-term
issuer default rating on oil giant BP /quotes/comstock/23s!a:bp. (UK:BP.
413.35, +6.55, +1.61%) /quotes/comstock/13*!bp/quotes/nls/bp (BP 38.39, +
0.02, +0.05%) by three notches to A from BBB. Fitch said the upgrade
reflects an end to the threat of further leaks from the Macondo well in the
Gulf of Mexico as well as the "improved visibility of potential liability
scenarios" that the company could face. The rating... 阅读全帖 |
|