Commit f465f8561d5f4917e7c36806a28ef35714357cfc
- Diff rendering mode:
- inline
- side by side
swtr/static/js/swtmaker.js
(19 / 1)
  | |||
720 | 720 | } | |
721 | 721 | } | |
722 | 722 | }; | |
723 | |||
724 | 723 | //swtr.AppView = AppView; | |
725 | 724 | ||
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(); | ||
726 | 744 | })(swtr); |