public/javascripts/right/billboard-src.js in right-rails-1.1.0 vs public/javascripts/right/billboard-src.js in right-rails-1.2.0
- old
+ new
@@ -96,10 +96,10 @@
*
*/
var Klass = new RightJS.Class(AbstractWidget, methods);
// creating the widget related shortcuts
- RightJS.Observer.createShortcuts(Klass.prototype, Klass.EVENTS || []);
+ RightJS.Observer.createShortcuts(Klass.prototype, Klass.EVENTS || RightJS([]));
return Klass;
}