From 60848bb4e2bbaae84c15f42059ee9544417003a9 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Wed, 16 Dec 2015 02:46:47 -0800 Subject: [PATCH] rebuilt, set editor to false by default --- dist/css/print.css | 2 +- dist/css/screen.css | 2 +- dist/fonts/DroidSans-Bold.ttf | Bin 42477 -> 42480 bytes dist/fonts/DroidSans.ttf | Bin 41025 -> 41028 bytes dist/index.html | 2 +- dist/lib/backbone-min.js | 28 +- dist/lib/handlebars-2.0.0.js | 54 +- dist/lib/jquery.ba-bbq.min.js | 34 +- dist/lib/jquery.slideto.min.js | 2 +- dist/lib/jquery.wiggle.min.js | 14 +- dist/lib/jsoneditor.min.js | 10 +- dist/lib/marked.js | 2542 +-- dist/lib/underscore-min.js | 10 +- dist/swagger-ui.js | 34047 +++++++++++++------------------ dist/swagger-ui.min.js | 23 +- src/main/html/css/print.css | 2 +- src/main/html/css/screen.css | 2 +- src/main/html/index.html | 2 +- 18 files changed, 15320 insertions(+), 21456 deletions(-) diff --git a/dist/css/print.css b/dist/css/print.css index 8329a2cc..2e6b3103 100644 --- a/dist/css/print.css +++ b/dist/css/print.css @@ -82,7 +82,7 @@ .swagger-section pre .vhdl .attribute, .swagger-section pre .clojure .attribute, .swagger-section pre .coffeescript .property { - color: #88F; + color: #8888ff; } .swagger-section pre .keyword, .swagger-section pre .id, diff --git a/dist/css/screen.css b/dist/css/screen.css index 49b8934e..ef4673db 100644 --- a/dist/css/screen.css +++ b/dist/css/screen.css @@ -82,7 +82,7 @@ .swagger-section pre .vhdl .attribute, .swagger-section pre .clojure .attribute, .swagger-section pre .coffeescript .property { - color: #88F; + color: #8888ff; } .swagger-section pre .keyword, .swagger-section pre .id, diff --git a/dist/fonts/DroidSans-Bold.ttf b/dist/fonts/DroidSans-Bold.ttf index befea09e4caca1dfcb93e5d2f4dc4361200aa836..942bbf5ba3aa04288175d094bc9c11d109c5726c 100644 GIT binary patch delta 30 jcmaERn(4!7rVSGl7R diff --git a/dist/fonts/DroidSans.ttf b/dist/fonts/DroidSans.ttf index 71e547f797c9e7e3a27c76afda2388be8747c2f6..efd1f8bbd882a6a434159fa1da7238babbaa2fb3 100644 GIT binary patch delta 30 jcmX?jfa%BqrVR&l7").attr(t);this.setElement(r,false)}else{this.setElement(i.result(this,"el"),false)}}});e.sync=function(t,r,s){var n=T[t];i.defaults(s||(s={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var a={type:n,dataType:"json"};if(!s.url){a.url=i.result(r,"url")||M()}if(s.data==null&&r&&(t==="create"||t==="update"||t==="patch")){a.contentType="application/json";a.data=JSON.stringify(s.attrs||r.toJSON(s))}if(s.emulateJSON){a.contentType="application/x-www-form-urlencoded";a.data=a.data?{model:a.data}:{}}if(s.emulateHTTP&&(n==="PUT"||n==="DELETE"||n==="PATCH")){a.type="POST";if(s.emulateJSON)a.data._method=n;var o=s.beforeSend;s.beforeSend=function(t){t.setRequestHeader("X-HTTP-Method-Override",n);if(o)return o.apply(this,arguments)}}if(a.type!=="GET"&&!s.emulateJSON){a.processData=false}if(a.type==="PATCH"&&k){a.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}var h=s.xhr=e.ajax(i.extend(a,s));r.trigger("request",r,h,s);return h};var k=typeof window!=="undefined"&&!!window.ActiveXObject&&!(window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent);var T={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var S=/\((.*?)\)/g;var H=/(\(\?)?:\w+/g;var A=/\*\w+/g;var I=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend($.prototype,u,{initialize:function(){},route:function(t,r,s){if(!i.isRegExp(t))t=this._routeToRegExp(t);if(i.isFunction(r)){s=r;r=""}if(!s)s=this[r];var n=this;e.history.route(t,function(i){var a=n._extractParameters(t,i);n.execute(s,a);n.trigger.apply(n,["route:"+r].concat(a));n.trigger("route",r,a);e.history.trigger("route",n,r,a)});return this},execute:function(t,e){if(t)t.apply(this,e)},navigate:function(t,i){e.history.navigate(t,i);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=i.result(this,"routes");var t,e=i.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(I,"\\$&").replace(S,"(?:$1)?").replace(H,function(t,e){return e?t:"([^/?]+)"}).replace(A,"([^?]*?)");return new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var r=t.exec(e).slice(1);return i.map(r,function(t,e){if(e===r.length-1)return t||null;return t?decodeURIComponent(t):null})}});var N=e.History=function(){this.handlers=[];i.bindAll(this,"checkUrl");if(typeof window!=="undefined"){this.location=window.location;this.history=window.history}};var R=/^[#\/]|\s+$/g;var O=/^\/+|\/+$/g;var P=/msie [\w.]+/;var C=/\/$/;var j=/#.*$/;N.started=false;i.extend(N.prototype,u,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(t==null){if(this._hasPushState||!this._wantsHashChange||e){t=decodeURI(this.location.pathname+this.location.search);var i=this.root.replace(C,"");if(!t.indexOf(i))t=t.slice(i.length)}else{t=this.getHash()}}return t.replace(R,"")},start:function(t){if(N.started)throw new Error("Backbone.history has already been started");N.started=true;this.options=i.extend({root:"/"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment();var s=document.documentMode;var n=P.exec(navigator.userAgent.toLowerCase())&&(!s||s<=7);this.root=("/"+this.root+"/").replace(O,"/");if(n&&this._wantsHashChange){var a=e.$('