<script type="text/javascript">
Ext.onReady(function(){
Ext.util.JSONP.request({
url: 'http://api.openweathermap.org/data/2.5/weather?q=London,uk&callback=',
callbackKey: "callback",
scope: this,
callback: function(c) {
console.log("ok");
// got an error :: Uncaught TypeError: Cannot read property 'request' of undefined
}
})
});
</script>
This question has been answered by mixa_ru. See the first response.