šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Book a DemoInstallSign in
Socket

ember-named-arguments-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-named-arguments-polyfill

Polyfills support for named arguments for Ember 2.10 through 3.0.

1.0.0
latest
npm
Version published
Weekly downloads
4.7K
-34%
Maintainers
1
Weekly downloads
Ā 
Created
Source

ember-named-arguments-polyfill

Polyfills the named arguments feature to work for Ember 2.10+. This is convienient for addon authors to be able to start leveraging named arguments without requiring that all of its users are on Ember 3.1 or higher.

Build Status

Installation

ember install ember-named-arguments-polyfill

Usage

"Just use them!"

In a component's template that receives an argument named foo you can now do:

{{@foo}}

šŸŽ‰

Contributing

Installation

  • git clone <repository-url>
  • cd ember-named-arguments-polyfill
  • yarn install

Linting

  • yarn lint:js
  • yarn lint:js --fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

For more information on using ember-cli, visit https://ember-cli.com/.

License

This project is licensed under the MIT License.

Keywords

ember-addon

FAQs

Package last updated on 06 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts