diff --git a/Bootstrap.Admin/Scripts/apidoc.js b/Bootstrap.Admin/Scripts/apidoc.js index a1591304..b283fd98 100644 --- a/Bootstrap.Admin/Scripts/apidoc.js +++ b/Bootstrap.Admin/Scripts/apidoc.js @@ -1,24 +1,4 @@ $(function () { - $.extend({ - "format": function (source, params) { - if (params === undefined) { - return source; - } - if (arguments.length > 2 && params.constructor !== Array) { - params = $.makeArray(arguments).slice(1); - } - if (params.constructor !== Array) { - params = [params]; - } - $.each(params, function (i, n) { - source = source.replace(new RegExp("\\{" + i + "\\}", "g"), function () { - return n; - }); - }); - return source; - } - }); - var ajax = function (options) { options = $.extend({ test: false,