摘要:
(function ($) { var a = ['test1', 'test2', 'test3', 'test4']; recursive(3, 'test').done(function (result) { console.log(result); }); function get(id) { var dfd = $.Deferred(); setTimeout(function () { dfd.resolve(a[id]); }, 1000); return dfd.... 阅读全文
摘要:
利用d3js绘出环形百分比环 (function() { var numberData = [{ value : 0.334, text : "33.4%", color : "#fd12000", id : 1 }, { value : 0.666, text : "66.6%", ... 阅读全文