JS 换行写法

    var populatePullUpHtml = function (id) {
        var html = '<div id="' + id + '" class="' + staticOpts.pullUpClass + '" style="display: none;">\
               <span class="pullUpIcon"></span><span class="pullUpLabel">上拉加载更多...</span>\
            </div>';
        return html;
    }

 

posted @ 2015-08-20 12:23  Shikyoh  阅读(6884)  评论(0编辑  收藏  举报