Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var AAA = function ( eventConfig, e, eventData ) {
- var restUrl = mdlUrls.TIMELINE_DATA
- , vm = eventConfig.viewModel
- , reqId = vm.requestId();
- if ( reqId ) {
- $.ajax({
- url: restUrl.format( reqId ),
- type: 'GET',
- contentType: 'application/json; charset=utf-8',
- dataType: 'json',
- })
- .done( function ( resp ) {
- console.log ( vm.timezone() );
- ...
- ...
- });
- }
- ...
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement