diff options
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jqTree/static/examples/load_json_data_from_server.js')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/jqTree/static/examples/load_json_data_from_server.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/static/examples/load_json_data_from_server.js b/ecomp-portal-FE/client/bower_components/jqTree/static/examples/load_json_data_from_server.js new file mode 100644 index 00000000..487e694f --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/jqTree/static/examples/load_json_data_from_server.js @@ -0,0 +1,11 @@ +$.mockjax({ + url: '*', + response: function(options) { + this.responseText = ExampleData.example_data; + }, + responseTime: 0 +}); + +$(function() { + $('#tree1').tree(); +}); |