12 lines
279 B
JavaScript
12 lines
279 B
JavaScript
|
// TODO - need to pass in environment variable for the domain name
|
||
|
|
||
|
console.log('execd')
|
||
|
$(document).ready(function() {
|
||
|
console.log('doc ready')
|
||
|
$('#testing-button').click(function() {
|
||
|
console.log('clicked')
|
||
|
$.get('/api/', function(data) {
|
||
|
console.log(data);
|
||
|
})
|
||
|
})
|
||
|
})
|