code: function () {
                  $.getJSON('./data/baiduHealth.json', function(ttf) {
  
                      var reader = new TTFReader();
                      var writer = new TTFWriter();
                      var buffer = writer.write(ttf);
  
                      var ttfData = reader.read(buffer);
  
                      console.log(ttfData);
  
                      var base64str = ttf2base64(buffer);
                      var saveBtn = $('.saveas');
                      saveBtn.attr('href', base64str);
                      saveBtn.attr('download', 'save.ttf');
                  });
              }
docs: 初始化