An open API service indexing awesome lists of open source software.

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)`

Awesome Lists containing this project

README

        

# ember-component-jquery

[![Build Status](https://travis-ci.org/patocallaghan/ember-component-jquery.svg?branch=master)](https://travis-ci.org/patocallaghan/ember-component-jquery)

[![npm](https://img.shields.io/npm/v/ember-component-jquery.svg?label=npm)](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`