{"id":28025451,"url":"https://github.com/roundingwellos/marionette.toolkit.routerapp","last_synced_at":"2025-05-11T04:22:58.575Z","repository":{"id":34450914,"uuid":"38386027","full_name":"RoundingWellOS/marionette.toolkit.routerapp","owner":"RoundingWellOS","description":"Toolkit.App with coupled Backbone.EventRouter","archived":false,"fork":false,"pushed_at":"2015-09-11T19:30:41.000Z","size":148,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-12T22:03:08.643Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RoundingWellOS.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-01T17:51:27.000Z","updated_at":"2017-04-20T23:24:38.000Z","dependencies_parsed_at":"2022-08-17T20:21:31.013Z","dependency_job_id":null,"html_url":"https://github.com/RoundingWellOS/marionette.toolkit.routerapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoundingWellOS%2Fmarionette.toolkit.routerapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoundingWellOS%2Fmarionette.toolkit.routerapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoundingWellOS%2Fmarionette.toolkit.routerapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoundingWellOS%2Fmarionette.toolkit.routerapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoundingWellOS","download_url":"https://codeload.github.com/RoundingWellOS/marionette.toolkit.routerapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253516670,"owners_count":21920715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-11T04:22:57.918Z","updated_at":"2025-05-11T04:22:58.557Z","avatar_url":"https://github.com/RoundingWellOS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Marionette.Toolkit.RouterApp\n[![Travis build status](http://img.shields.io/travis/RoundingWellOS/marionette.toolkit.routerapp.svg?style=flat)](https://travis-ci.org/RoundingWellOS/marionette.toolkit.routerapp)\n[![Code Climate](https://codeclimate.com/github/RoundingWellOS/marionette.toolkit.routerapp/badges/gpa.svg)](https://codeclimate.com/github/RoundingWellOS/marionette.toolkit.routerapp)\n[![Test Coverage](https://codeclimate.com/github/RoundingWellOS/marionette.toolkit.routerapp/badges/coverage.svg)](https://codeclimate.com/github/RoundingWellOS/marionette.toolkit.routerapp)\n[![Dependency Status](https://david-dm.org/RoundingWellOS/marionette.toolkit.routerapp.svg)](https://david-dm.org/RoundingWell/RouterApp)\n\nCoupling [`backbone.eventrouter`](https://github.com/RoundingWellOS/backbone.eventrouter) with a [`marionette.toolkit.app`](https://github.com/RoundingWellOS/marionette.toolkit)\n\n\n## Example\n```js\nvar RouterApp = Marionette.Toolkit.RouterApp.extend({\n  eventRoutes:{\n    'foo:event' : {\n      action : 'showFoo',\n      route  : 'foo/list'\n    },\n    'bar:event': {\n      action : 'showBar',\n      route  : 'bar/:id'\n    }\n  },\n\n  childApps: function(){\n    return {\n      foo: FooToolkitApp,\n      bar: BarToolkitApp\n    };\n  },\n\n  showFoo: function() {\n    this.startApp('foo');\n  },\n\n  showBar: function(id){\n    this.startApp('bar', { id : id });\n  }\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froundingwellos%2Fmarionette.toolkit.routerapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froundingwellos%2Fmarionette.toolkit.routerapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froundingwellos%2Fmarionette.toolkit.routerapp/lists"}