Application dependency

When the application is loaded in the browser, it loads all the JavaScript files in a specific order. The order is important because it represents the chain of dependencies.

<script src="js/vendor/jquery-2.1.4.min.js"></script> <script src="js/vendor/bootstrap.min.js"></script> <script src="js/vendor/sweetalert.min.js"></script> <script src="js/vendor/jquery.noty.packaged.min.js"></script> <script src="js/vendor/underscore-min.js"></script> <script src="js/vendor/backbone-min.js"></script> <script src="js/vendor/backbone-validation-min.js"></script> <script src="js/common.js"></script> <script src="js/app.js"></script> <script src="js/apps/contacts/router.js"></script> <script src="js/apps/contacts/models/contact.js"></script> ...

Get Mastering Backbone.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.