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

Comportamiento llamar callback #69

Merged
merged 3 commits into from
Jul 24, 2024
Merged

Conversation

dlopezalvas
Copy link
Contributor

Related Program-AR/pilas-bloques-app#251

Acá

    // Esto deberia estar en otro lado, es un comportamiento que lo unico que
    // hace es llamar a una función.
    var ComportamientoLlamarCallback = function(args) {
      this.argumentos = args;

      this.iniciar = function() {
      };

      this.actualizar = function() {
        this.argumentos.callback();
        return true;
      };

      this.eliminar = function() {
      };
    };

Se creaba un comportamiento, lo pase para acá porque es donde están los comportamientos a fin y a cabo, y resolvemos el TODO.

@dlopezalvas dlopezalvas requested review from a team and rgonzalezt July 22, 2024 19:37
Copy link
Contributor

@rgonzalezt rgonzalezt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@dlopezalvas dlopezalvas merged commit 1f42c09 into master Jul 24, 2024
3 checks passed
@dlopezalvas dlopezalvas deleted the comportamiento-llamar-callback branch July 24, 2024 19:38
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.

2 participants