1 2 3 4 5 6 7 8 9 10 11 12 13 14
$.mockjax({ url: '*', response: function(options) { this.responseText = ExampleData.example_data; }, responseTime: 0 }); $(function() { $('#tree1').tree({ closedIcon: $('<i class="fa fa-arrow-circle-right"></i>'), openedIcon: $('<i class="fa fa-arrow-circle-down"></i>') }); });