Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- contentType: 'application/x-www-form-urlencoded',
- async: bAsynchronous,
- type: 'POST',
- url: url,
- data: content + getSecurityURL(url,sData), //we need to pass the information for security.
- success: typeof functionA == 'function' && typeof functionB == 'function'
- ? [functionA, functionB] : console.log('Error'),
- });
- QUnit.module('unit tests', {
- beforeEach: function() {
- server = sinon.fakeServer.create();
- },
- afterEach: function() {
- delete server;
- }
- });
Add Comment
Please, Sign In to add comment