Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
model: function() {
return hash({
fetch: fetch('/omg.json').then(function(request) {
return request.json();
}),
ajax: ajax('/omg.json')
});
}
});
model: function() {
return hash({
fetch: fetch('/omg.json').then(function(request) {
return request.json();
}),
request: fetch(new Request('/omg.json')).then(function(request) {
return request.json();
}),
ajax: ajax('/omg.json')
});
}
});