diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-05-12 18:33:00 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-05-17 16:43:12 +0800 |
commit | 74a3b45c290d1b6e289ac1c3b9425e804e2f0ab7 (patch) | |
tree | 905343c0fbd8114b1619641dcf359e2cd3fc1928 /testapi/3rd_party/static/swagger/lib/jquery.slideto.min.js | |
parent | de3ac5fcdb1259df876df53d93b4166011fae79b (diff) |
refactor static_path to accomodate web portal
move tornado_swagger/static to opnfv_testapi/static
move swagger related 3rd libs to 3rd_party/swagger
Change-Id: I32bba10584c99d13687b93f32577e37581db0c63
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/3rd_party/static/swagger/lib/jquery.slideto.min.js')
-rw-r--r-- | testapi/3rd_party/static/swagger/lib/jquery.slideto.min.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testapi/3rd_party/static/swagger/lib/jquery.slideto.min.js b/testapi/3rd_party/static/swagger/lib/jquery.slideto.min.js new file mode 100644 index 0000000..ba32cff --- /dev/null +++ b/testapi/3rd_party/static/swagger/lib/jquery.slideto.min.js @@ -0,0 +1 @@ +(function(b){b.fn.slideto=function(a){a=b.extend({slide_duration:"slow",highlight_duration:3E3,highlight:true,highlight_color:"#FFFF99"},a);return this.each(function(){obj=b(this);b("body").animate({scrollTop:obj.offset().top},a.slide_duration,function(){a.highlight&&b.ui.version&&obj.effect("highlight",{color:a.highlight_color},a.highlight_duration)})})}})(jQuery); |