Dug.js

跨平台

  • 授权协议:-
  • 开发厂商:-
  • 软件语言:JavaScript
  • 更新日期:2014-02-02
Dug.js

<imgsrc="{{image_400_url}}"alt="Imageof{{title}}">\. });

Dug.js 项目简介

Dug.js —— A JSONP to HTML Script示例代码:<script>
  dug({
      endpoint: 'http://api.dribbble.com/players/justinmezzell/shots',
      template: '<ul>\
          {{#shots}}\
            <li>\
                <a href="{{url}}" title="{{title}}">\
                    <img src="{{image_400_url}}" alt="Image of {{title}}">\
                </a>\
            </li>\
        {{/shots}}\
      </ul>'
  });
</script>

Dug.js 评论内容