ES5 one-var-declaration-per-line

This commit is contained in:
Amine Ben hammou
2017-09-25 09:37:15 +00:00
parent a596add838
commit a11d6d7868
7 changed files with 46 additions and 23 deletions

View File

@@ -120,8 +120,9 @@ define([
// and destroy self
options.dragBehavior.view.model.destroy();
},
onDragSubstituteBy: function (behavior) {
var WidgetView, node;
onDragSubstituteBy: function(behavior) {
var WidgetView,
node;
// When block is being dragged, display the widget icon instead.
// This will create an instance of block's widget view and
// use it's rendered DOM element instead of the content block