Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements and Updates in the Code. Converted to ES6 class #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xmaop
Copy link

@xmaop xmaop commented Jun 10, 2024

  1. nami.js:

    • Converted to ES6 class.
    • Updated methods to use class method syntax.
  2. message.js:

    • Converted to ES6 class.
    • Updated methods to use class method syntax.
  3. action.js:

    • Converted to ES6 class.
    • Implemented super() for calls to the parent class constructor.
    • Dynamic generation of action classes using createActionClass.
    • Exported dynamically generated classes.
  4. response.js:

    • Converted to ES6 class.
    • Implemented super() for calls to the parent class constructor.
    • Updated to export the Response class.
  5. event.js:

    • Converted to ES6 class.
    • Implemented super() for calls to the parent class constructor.
    • Updated to export the Event class.

1. **message.js**:
   - Converted to ES6 class.
   - Updated methods to use class method syntax.

2. **action.js**:
   - Converted to ES6 class.
   - Implemented `super()` for calls to the parent class constructor.
   - Dynamic generation of action classes using `createActionClass`.
   - Exported dynamically generated classes.

3. **response.js**:
   - Converted to ES6 class.
   - Implemented `super()` for calls to the parent class constructor.
   - Updated to export the `Response` class.

4. **event.js**:
   - Converted to ES6 class.
   - Implemented `super()` for calls to the parent class constructor.
   - Updated to export the `Event` class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant