Skip to content

Commit

Permalink
refactor: troca do nome para ter mais sinergia com o projeto
Browse files Browse the repository at this point in the history
  • Loading branch information
deMGoncalves committed Jul 16, 2024
1 parent 10c1c31 commit ede2c05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/mqtt/mqtt.js → src/eventConnect/eventConnect.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import attributeChanged from "../attributeChanged";
import trait from "../trait";

function mqtt(target) {
function eventConnect(target) {
const attributeChangedCallback =
target.prototype.attributeChangedCallback ?? (() => undefined);

Expand Down Expand Up @@ -37,4 +37,4 @@ function mqtt(target) {
attributeChanged("on")(target.prototype, trait.broker);
}

export default mqtt;
export default eventConnect;
1 change: 1 addition & 0 deletions src/eventConnect/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from "./eventConnect";
1 change: 0 additions & 1 deletion src/mqtt/index.js

This file was deleted.

0 comments on commit ede2c05

Please sign in to comment.