爱意满满的作品展示区。
fullstack0xyz

又一个 Hacker News app, power by ionic (谁有 mac,编译个 ios 平台的试试能不能用呢)

  •  
  •   fullstack0xyz · Mar 19, 2015 · 4255 views
    This topic created in 4254 days ago, the information mentioned may be changed or developed.
    数据用的是hackernews 的官方API https://github.com/HackerNews/API。
    comment部分遇到些麻烦,对Angular 不太熟,取comment需要递归、回调,没想到什么好办法,目前是一次性加载了所有评论,没有排序,求指导

    欢迎试用 https://github.com/keith3/HN_app :-)
    2 replies  •  2015-03-22 20:53:10 +08:00
    bolasblack
    bolasblack
    Mar 22, 2015❤️1
    1
    要递归应该可以用 ngInclude 来做,或者专门写一个 directive ,然后在 directive 里嵌套使用,不过我没有试过,你可以尝试一下
    fullstack0xyz
    fullstack0xyz
    OP
    Mar 22, 2015
    2
    @bolasblack 好的,我看一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1134 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 18:03 · PVG 02:03 · LAX 10:03 · JFK 13:03
    ♥ Do have faith in what you're doing.