I am trying to use Ember.js in conjunction with jQuery UI\'s draggable functionality, but I am encountering problems. Specifically, when using the clone helper, I am not abl
I was having the same issue using Ember 1.0.0 RC6. I've found that just replacing the clone string with a function which returns the clone works fine.
this.$().draggable({
// helper: 'clone'
helper: function() {
return $(this).clone();
}
});
In Coffeescript
@$().draggable
# helper: 'clone'
helper: ->
$(@).clone()