projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fonction « shake » publique.
[Plinn.git]
/
Products
/
Plinn
/
skins
/
ajax_scripts
/
ajax_form_manager.js
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 FormManager;
+var shake;
(function(){
(function(){
@@
-487,7
+488,7
@@
function smoothScroll(from, to) {
}
/* adapted from http://xahlee.info/js/js_shake_box.html */
}
/* 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; }
// Handle arguments
if (!time) { time = 500; }
if (!distance) { distance = 5; }
@@
-525,6
+526,6
@@
function shake(e, distance, time) {
}
}
animate();
}
}
animate();
-}
+}
;
}());
}());