{"id":15043967,"url":"https://github.com/mojotech/pioneer.marionette","last_synced_at":"2026-01-18T09:01:39.287Z","repository":{"id":19277324,"uuid":"22513951","full_name":"mojotech/pioneer.marionette","owner":"mojotech","description":"Make testing marionette apps with pioneer a pleasant experience","archived":false,"fork":false,"pushed_at":"2014-08-08T18:40:50.000Z","size":160,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":46,"default_branch":"master","last_synced_at":"2025-10-28T21:26:40.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/mojotech.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2014-08-01T14:41:39.000Z","updated_at":"2014-10-28T22:28:32.000Z","dependencies_parsed_at":"2022-09-26T22:10:48.451Z","dependency_job_id":null,"html_url":"https://github.com/mojotech/pioneer.marionette","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mojotech/pioneer.marionette","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Fpioneer.marionette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Fpioneer.marionette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Fpioneer.marionette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Fpioneer.marionette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mojotech","download_url":"https://codeload.github.com/mojotech/pioneer.marionette/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Fpioneer.marionette/sbom","scorecard":{"id":657351,"data":{"date":"2025-08-11","repo":{"name":"github.com/mojotech/pioneer.marionette","commit":"40062d13d04fc085b213ec9e01258c403de14f02"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/3 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-21T15:04:06.100Z","repository_id":19277324,"created_at":"2025-08-21T15:04:06.100Z","updated_at":"2025-08-21T15:04:06.100Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-09-24T20:49:53.517Z","updated_at":"2026-01-18T09:01:39.267Z","avatar_url":"https://github.com/mojotech.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Widget.View\n===========\n\n[![Build Status](http://img.shields.io/travis/mojotech/pioneer.marionette.svg?style=flat\n)](https://travis-ci.org/mojotech/pioneer.marionette)\n[![Gitter chat](http://img.shields.io/badge/gitter-chat-blue.svg?style=flat\n)](https://gitter.im/mojotech/pioneer)\n\n\n`Widget.View` is a utility class intended to make working with [Marionette.js](https://github.com/marionettejs/backbone.marionette) easier. It extends from the `Widget` class so you have a very similar interface with a few new things.\n\nAn example of the a `Widget.View` is as follows:\n\n```js\n  MarionetteView = this.Widget.View.extend({\n    regionPath: 'MyRegion',\n    appPath: \"AppName\"\n  });\n\n  return new MarionetteView().ui(\"wow\")\n  .then(function(element){\n    return element.getText().should.eventually.equal(\"amaze\");\n  });\n```\n\n* [Installing](#installing)\n* [Api](#api)\n  * [Constructing](#constructing)\n    * [regionPath](#regionpath)\n    * [appPath](#apppath)\n  * [UI](#ui)\n\n# Installing\n\n    npm i pioneer.marionette\n\n# API\n\n## Constucting\n\n`Widget.View` takes two additional params to allow you to hook into your view implementaiton on the client.\n\n### RegionPath\n\nRegion path is the location of the region within you application.\n`regionPath` is required when making a new `Widget.View`. It supports deeply nested views using a dot deliminated syntax. `FooRegion.BarRegion.ZapRegion` which is expanded internally to be `FooRegion.currentView.BarRegion.currentView.ZapRegion`.\n\n```js\nMarionetteView = this.Widget.View.extend({\n  regionPath: 'MyRegion.NestedRegion.AmazingRegion'\n})\n```\n\n### AppPath\n\nApp Path is the location of how to get to your application that stores your regions. By default `appPath` is `window` which will lookup your regions on the global scope, however you can scope this lookup by the `appPath`.\n\n```js\nMarionetteView = this.Widget.View.extend({\n  regionPath: 'MyRegion.NestedRegion.AmazingRegion',\n  appPath: 'window.secret.MyApp'\n})\n```\n\n## UI\n\nThe `.ui` method on `Widget.View` allows you to hook into any UI hash keys that you have defined on your `Marionette.View`. http://marionettejs.com/docs/marionette.itemview.html#organizing-ui-elements\n\nIt takes a string that will be used for the lookup, the resulting value is a `WebElement` instance.\n\nGiven the following `Marionette.ItemView`\n\n```js\nBackbone.Marionette.ItemView.extend({\n  template: _.template(\"\u003cborg\u003ethe borg\u003c/borg\u003e\u003cassimilate\u003elike to eat cheerios\u003c/assimilate\u003e\"),\n  ui: {\n    \"assimilate\": \"assimilate\",\n    \"borg\": \"borg\"\n  }\n})\n```\n\nYou can interact with it via the `Widget.View` through the following widget.\n\n```js\nreturn new this.Widget.View({\n  regionPath: \"myRegion\"\n})\n.ui(\"borg\")\n.then(function(elm){\n  return elm.getText().should.eventually.eql(\"the borg\")\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojotech%2Fpioneer.marionette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmojotech%2Fpioneer.marionette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojotech%2Fpioneer.marionette/lists"}