client side code webstorm code cleanup.

This commit is contained in:
kay.one 2013-03-29 16:28:58 -07:00
commit 445ea4f344
94 changed files with 4355 additions and 4243 deletions

View file

@ -2,13 +2,13 @@
$.fn.autoComplete = function (resource) {
$(this).typeahead({
source: function (filter, callback) {
source : function (filter, callback) {
$.ajax({
url: NzbDrone.Constants.ApiRoot + resource,
url : NzbDrone.Constants.ApiRoot + resource,
dataType: "json",
type: "GET",
data: { query: filter },
success: function (data) {
type : "GET",
data : { query: filter },
success : function (data) {
callback(data);
}
});