Code Monkey home page Code Monkey logo

Comments (3)

johnyanarella avatar johnyanarella commented on July 20, 2024

Is this an Ext JS or Sencha Touch app? With which version and in which browser?

I am unable to replicate this issue with Ext JS 4.1. For me, the onButtonClick() is being executed in the view controller's scope.

See this jsfiddle (with Safari or Chrome developer tools enabled) for my attempt to replicate your issue: http://jsfiddle.net/3CPdR/3/

I was surprised to see this one because we explicitly cover this in our unit tests, and those are passing for Ext JS 4+ and Sencha Touch 2+.

from deftjs.

dab0uncer avatar dab0uncer commented on July 20, 2024

I thought the "getMyButton()" function was from the button class, because I didn't name the button "myButton" so I assumed there wouldn't be a autmatically generated function called like this in the controller...

Ok then the problem lies elsewhere, thank you :)

from deftjs.

johnyanarella avatar johnyanarella commented on July 20, 2024

No problem! Thanks for posting your concern here, feel free to do so again in the future.

from deftjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.