From d3e7b5708deffbed864c916de22663f48333c58b Mon Sep 17 00:00:00 2001 From: yo mama Date: Tue, 22 Sep 2015 00:51:40 -0700 Subject: finishing server --- frontend/js/photoblaster-0.1.js | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 frontend/js/photoblaster-0.1.js (limited to 'frontend/js/photoblaster-0.1.js') diff --git a/frontend/js/photoblaster-0.1.js b/frontend/js/photoblaster-0.1.js deleted file mode 100644 index 43fc785..0000000 --- a/frontend/js/photoblaster-0.1.js +++ /dev/null @@ -1,22 +0,0 @@ -(function($){ - $.photoblaster = function(url, name, success, error){ - if (! url) return; - var API_HEADER = "#@im", - success = success || function (data) {}, - error = error || function () {}, - params = { - 'url': url, - 'name': name || 'api', - 'transparent': true, - 'fuzz': 5, - }; - $.ajax({ - 'url': "http://asdf.us/cgi-bin/im/generate", - 'data': params, - 'dataType': "jsonp", - 'success': success, - 'error': error - }); - }; -})(jQuery); - -- cgit v1.2.3-70-g09d2