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

client side callbacks do not work with ExtJS #19

Closed
scottburch opened this issue Mar 20, 2011 · 3 comments
Closed

client side callbacks do not work with ExtJS #19

scottburch opened this issue Mar 20, 2011 · 3 comments

Comments

@scottburch
Copy link

loading ext-base will cause callbacks not to be called

opening another ticket because I accidentally closed #17

@scottburch
Copy link
Author

Here is the code

SERVER
everyone.now.getData = function(callback) {
callback(getData());
}

CLIENT
<!doctype html>

<script type="text/javascript" src="nowjs/now.js"></script> <script type="text/javascript" src="vendors/ext/ext-base.js"></script> <script> now.ready(function() { now.getData(function(data) { console.log('done') }) }) </script>
</head>
<body>
</body>

@ericz
Copy link
Contributor

ericz commented Mar 21, 2011

Fixed

@ericz ericz closed this as completed Mar 21, 2011
@scottburch
Copy link
Author

I just tested in my ExtJS app. Works fine. Thanks

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

No branches or pull requests

2 participants