https://github.com/patocallaghan/ember-component-jquery
A codemod for migrating Ember Component code from `this.$()` to `$(this.element)`
https://github.com/patocallaghan/ember-component-jquery
Last synced: 11 days ago
JSON representation
A codemod for migrating Ember Component code from `this.$()` to `$(this.element)`
- Host: GitHub
- URL: https://github.com/patocallaghan/ember-component-jquery
- Owner: patocallaghan
- Created: 2019-10-22T07:33:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T23:12:19.000Z (over 2 years ago)
- Last Synced: 2025-03-13T20:18:50.514Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 391 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-codemods - ember-component-jquery - A codemod for migrating Ember Component code from `this.$()` to `$(this.element)`. (Frameworks / Ember.js)
README
# ember-component-jquery
[](https://travis-ci.org/patocallaghan/ember-component-jquery)
[](https://www.npmjs.com/package/ember-component-jquery)
A codemod for migrating Ember Component code from `this.$()` to `$(this.element)` and `Ember.$('.class')` to `$('.class')`;
## Usage
```
npx ember-component-jquery this-jquery path/of/files/ or/some**/*glob.js
```## Transforms
* [ember-jquery](transforms/ember-jquery/README.md)
* [this-jquery](transforms/this-jquery/README.md)## Contributing
### Installation
* clone the repo
* change into the repo directory
* `yarn`### Running tests
* `yarn test`
### Update Documentation
* `yarn update-docs`