mirror of
https://github.com/k4m4/movies-for-hackers.git
synced 2024-10-01 06:45:34 -04:00
Housekeeping
This commit is contained in:
parent
d7fe8146e3
commit
6b27448ee1
@ -38,7 +38,7 @@ objectifyMarkdownNotWomen.table = function(header, body) {
|
|||||||
movies = [{}];
|
movies = [{}];
|
||||||
};
|
};
|
||||||
|
|
||||||
client.open('GET', window.location.href + '/README.md');
|
client.open('GET', window.location.href + 'README.md');
|
||||||
client.onreadystatechange = function(e) {
|
client.onreadystatechange = function(e) {
|
||||||
// Whipe movies and collections as this'll run a bunch of times
|
// Whipe movies and collections as this'll run a bunch of times
|
||||||
moviesCollection = [];
|
moviesCollection = [];
|
||||||
@ -56,8 +56,3 @@ client.onreadystatechange = function(e) {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
client.send();
|
client.send();
|
||||||
|
|
||||||
function baseUrl() {
|
|
||||||
var href = window.location.href.split('/');
|
|
||||||
return href[0]+'//'+href[2]+'/';
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user