ember-composable-helpers
ember-composable-helpers copied to clipboard
Composable helpers for declarative templating in Ember
E.g. #### `contains` ``` js /** * contains(needle, haystack); * @param {Array} haystack * @param {Primitive || Array} needle * @return {Boolean} */ ``` Checks if a given value or...
This is commented in https://github.com/DockYard/ember-composable-helpers/pull/121, but warrants another mention. `invoke` checks for an array, so there's no way to call it on the array itself. This doesn't cause many issues...
Given: ``` hbs {{action (pipe addToCart purchase redirectToThankYouPage) item target='checkoutService'}} ``` `pipe()` appears to resolve for `addToCart()`, `purchase()`, and `redirectToThankYouPage()` against the current component/controller space, rather than look in the...
Hey guys, I tried useing `ember-composable-helpers` together with `ember-i18n` which unfortunately doesn't work (See jamesarosen/ember-i18n#374). The workarounds provided there don't really seem to be enjoyable 😉 (and nothing you want...
## Changes proposed in this pull request Ember's Array prototype extensions are being [deprecated soon](https://rfcs.emberjs.com/id/0848-deprecate-array-prototype-extensions), and Ember Data has [already deprecated them](https://rfcs.emberjs.com/id/0745-ember-data-deprecate-methods-on-promise-many-array). As part of Ember Data's deprecation work calling...
There's a new deprecation in ember-data 4.7+ affecting (at least) find-by, but possibly more methods using @ember/array: ``` DEPRECATION: The `findBy` method on the class ManyArray is deprecated. Use the...
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) and [testem](https://github.com/testem/testem). These dependencies needed to be updated together. Updates `@xmldom/xmldom` from 0.7.5 to 0.8.3 Release notes Sourced from @xmldom/xmldom's releases. 0.8.3 Commits Fixed Avoid iterating over prototype...
It's useful because one can do something like: ```hbs {{on "click" (queue someAction (if someTest someOptionalAction))}} ``` As otherwise one must: ```hbs {{on "click" (queue someAction (if someTest someOptionalAction (noop))}}...
Adds Glint types. The types are guaranteed to be wrong at places, but get the ball rolling and should provide at least some value. Not sure I will have much...
This fixes an issue when trying to use ember-composable-helpers with `@embroider/vite` Essentially when you run `babel.transform()` it will look for a babel config on disk by default. This hasn't been...