(script, callback)
| 6 | var data; |
| 7 | |
| 8 | function getScript(script, callback) { |
| 9 | console.log('Loading script: ' + script); |
| 10 | $.getScript(base_path + script).done(function () { |
| 11 | callback(); |
| 12 | }).fail(function (jqxhr, settings, exception) { |
| 13 | console.log('Error: ' + exception); |
| 14 | }); |
| 15 | } |
| 16 | |
| 17 | function getScriptsInOrder(scripts, callback) { |
| 18 | if (scripts.length === 0) { |
no test coverage detected