Skip to content

Commit

Permalink
Fixed #353 - observes is a prototype function that is no longer used.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyken committed Nov 26, 2014
1 parent 1f20720 commit 0fe4100
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions app/views/authentications/new.html.haml
@@ -1,15 +1,3 @@
= content_for(:javascript_epilogue) do
:plain
document.observe("dom:loaded", function() {
new Effect.Move("standalone", { x:0, y:-16, mode:"relative", fps:100, duration:0.15, afterFinishInternal: function(effect) {
new Effect.Move("standalone", { x:0, y:16, mode:"relative", fps:100, duration:0.15, afterFinishInternal: function(effect) {
new Effect.Move("standalone", { x:0, y:-8, mode:"relative", fps:100, duration:0.15, afterFinishInternal: function(effect) {
new Effect.Move("standalone", { x:0, y:8, mode:"relative", fps:100, duration:0.15 });
}});
}});
}});
});

.standalone#standalone
-# The following form gets submitted to #create when @authentication is nil,
-# or to #update when @authentication is not nil (ex. suspended).
Expand Down
12 changes: 0 additions & 12 deletions app/views/layouts/500.html.haml
Expand Up @@ -15,15 +15,3 @@
%h3= link_to("Fat Free CRM", '/')
%center
%p.flash_exception#msg= exception
%script
:plain
document.observe("dom:loaded", function() {
new Effect.Move("msg", { x:0, y:-50, mode:"relative", fps:100, duration:0.15, afterFinishInternal: function(effect) {
new Effect.Move("msg", { x:0, y:50, mode:"relative", fps:100, duration:0.15, afterFinishInternal: function(effect) {
new Effect.Move("msg", { x:0, y:-25, mode:"relative", fps:100, duration:0.15, afterFinishInternal: function(effect) {
new Effect.Move("msg", { x:0, y:25, mode:"relative", fps:100, duration:0.15 });
}});
}});
}});
});

0 comments on commit 0fe4100

Please sign in to comment.