Commit f465f8561d5f4917e7c36806a28ef35714357cfc

  • avatar
  • arvind
  • Fri Aug 29 16:13:41 IST 2014
Adding backbone router for the application.
  
720720 }
721721 }
722722 };
723
724723 //swtr.AppView = AppView;
725724
725 var AppRouter = Backbone.Router.extend({
726 routes: {
727 'home': 'home',
728 'linked-data': 'linkedData',
729 'play': 'play',
730 'search-external': 'search'
731 },
732 home: function() {
733 },
734 linkedData: function() {
735 },
736 play: function() {
737
738 },
739 search: function() {
740 }
741 });
742 new AppRouter();
743 Backbone.history.start();
726744})(swtr);