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/lib/jquery.wiggle.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/lib/jquery.wiggle.min.js')
-rw-r--r-- | testapi/3rd_party/static/lib/jquery.wiggle.min.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/testapi/3rd_party/static/lib/jquery.wiggle.min.js b/testapi/3rd_party/static/lib/jquery.wiggle.min.js deleted file mode 100644 index 2adb0d6..0000000 --- a/testapi/3rd_party/static/lib/jquery.wiggle.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -jQuery Wiggle -Author: WonderGroup, Jordan Thomas -URL: http://labs.wondergroup.com/demos/mini-ui/index.html -License: MIT (http://en.wikipedia.org/wiki/MIT_License) -*/ -jQuery.fn.wiggle=function(o){var d={speed:50,wiggles:3,travel:5,callback:null};var o=jQuery.extend(d,o);return this.each(function(){var cache=this;var wrap=jQuery(this).wrap('<div class="wiggle-wrap"></div>').css("position","relative");var calls=0;for(i=1;i<=o.wiggles;i++){jQuery(this).animate({left:"-="+o.travel},o.speed).animate({left:"+="+o.travel*2},o.speed*2).animate({left:"-="+o.travel},o.speed,function(){calls++;if(jQuery(cache).parent().hasClass('wiggle-wrap')){jQuery(cache).parent().replaceWith(cache);} -if(calls==o.wiggles&&jQuery.isFunction(o.callback)){o.callback();}});}});};
\ No newline at end of file |