projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4bfd1c4
)
fonction « shake » publique.
author
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 15 Apr 2015 11:18:19 +0000
(13:18 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 15 Apr 2015 11:18:19 +0000
(13:18 +0200)
Products/Plinn/skins/ajax_scripts/ajax_form_manager.js
patch
|
blob
|
history
diff --git
a/Products/Plinn/skins/ajax_scripts/ajax_form_manager.js
b/Products/Plinn/skins/ajax_scripts/ajax_form_manager.js
index
6f6748e
..
bf72813
100644
(file)
--- a/
Products/Plinn/skins/ajax_scripts/ajax_form_manager.js
+++ b/
Products/Plinn/skins/ajax_scripts/ajax_form_manager.js
@@
-5,6
+5,7
@@
//
var FormManager;
+var shake;
(function(){
@@
-487,7
+488,7
@@
function smoothScroll(from, to) {
}
/* adapted from http://xahlee.info/js/js_shake_box.html */
-
function shake
(e, distance, time) {
+
shake = function
(e, distance, time) {
// Handle arguments
if (!time) { time = 500; }
if (!distance) { distance = 5; }
@@
-525,6
+526,6
@@
function shake(e, distance, time) {
}
}
animate();
-}
+}
;
}());