refactored main links

This commit is contained in:
albert
2011-09-26 13:04:12 -04:00
parent a1657366c1
commit 11b623c66b
4 changed files with 36 additions and 24 deletions

View File

@@ -2,7 +2,13 @@
Danbooru.Sources = {};
Danbooru.Sources.get = function(url) {
$.get("/sources.json", {
url: url
}).success(function(data) {
console.log(data);
}).error(function(data) {
console.log(data);
});
}
})();