- $.fixture("/myuri", function(original, settings, headers){
- return [200, "success",{
- "notifications": [
- {
- "id": 1,
- "type": "TEST1",
- "data": {
- "test1": "testing1"
- }
- },
- {
- "id": 2,
- "type": "TEST2",
- "data": {
- "test2": "testing2"
- }
- }
- ]
- }, {} ]
- });
- $.ajax({
- url : '/myuri',
- type : 'get',
- contentType : 'application/json',
- success : function(data){
- steal.dev.log('fixture data:');
- steal.dev.log(data);
- }
- });
Maybe try replacing the steal.dev.log with console.log() ?