1 // Place your application-specific JavaScript functions and classes here
2 // This file is automatically included by javascript_include_tag :defaults
4 Lyrix
= {}; // Our own little namespace.
6 // Just a behaviors extraction of Script.aculo.us Draggable
7 Lyrix
.Draggable
= Behavior
.create({
8 initialize: function(options
) {
9 this.draggable
= new Draggable(this.element
, options
);
14 '.song': Lyrix
.Draggable({handle
: 'drag_me', revert
: true}),
15 '#songs_list': function() {