wubaiqing

[前端] 每日时报-2019.07.11

  •  
  •   wubaiqing · Jul 11, 2019 · 2122 views
    This topic created in 2524 days ago, the information mentioned may be changed or developed.

    2019.07.11

    GitHub: https://github.com/wubaiqing/zaobao

    [类库] common-tags 是处理字符串模板( template_strings )所用到的工具,它提供了大量函数,如:处理字符串模板时出现缩进、换行、循环等问题,感觉很好用哈:https://github.com/declandewet/common-tags

    [新闻] Lodash 被爆出一个高严重性安全漏洞——原型污染漏洞,如果是对外开放的服务,需要尽快升级哈:https://mp.weixin.qq.com/s/tfZq2PZylGfMjOp8h8eeTw

    [新闻] 阿里巴巴发布 Aliyun Serverless VS Code 插件,轻松开发阿里云函数计算:https://mp.weixin.qq.com/s/K-ZB-DvZRA9S3OxBQ9PwZw

    [文章] 了解什么是微前端:https://juejin.im/post/5d1f19e3f265da1bab29ce5f

    [工具] 一款真正的跨平台摸鱼神器,可以更加隐秘性大胆的看小说:https://github.com/cteams/Thief-Book

    示例

    import {html} from 'common-tags'
    let fruits = ['apple', 'orange', 'watermelon']
    html`
      <div class="list">
        <ul>
          ${fruits.map(fruit => `<li>${fruit}</li>`)}
          ${'<li>kiwi</li>\n<li>guava</li>'}
        </ul>
      </div>
    `
    
    <div class="list">
      <ul>
        <li>apple</li>
        <li>orange</li>
        <li>watermelon</li>
        <li>kiwi</li>
        <li>guava</li>
      </ul>
    </div>
    

    配图

    今日图 - 如何证明豹和老虎都是猫科动物

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3137 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 12:57 · PVG 20:57 · LAX 05:57 · JFK 08:57
    ♥ Do have faith in what you're doing.