From 156eb72ba52327e5a4891227d94f50785605c8ed Mon Sep 17 00:00:00 2001 From: Andy Perlitch Date: Tue, 17 Mar 2015 13:09:03 -0700 Subject: [PATCH] update dist with latest change --- dist/malhar-angular-dashboard.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/dist/malhar-angular-dashboard.js b/dist/malhar-angular-dashboard.js index faaad9d..01e0533 100644 --- a/dist/malhar-angular-dashboard.js +++ b/dist/malhar-angular-dashboard.js @@ -21,14 +21,6 @@ angular.module('ui.dashboard') .directive('dashboard', ['WidgetModel', 'WidgetDefCollection', '$modal', 'DashboardState', '$log', function (WidgetModel, WidgetDefCollection, $modal, DashboardState, $log) { - var sortableDefaults = { - stop: function () { - scope.saveDashboard(); - }, - handle: '.widget-header', - distance: 5 - }; - return { restrict: 'A', templateUrl: function(element, attr) { @@ -70,6 +62,13 @@ angular.module('ui.dashboard') _.defaults(scope.options, defaults); // sortable options + var sortableDefaults = { + stop: function () { + scope.saveDashboard(); + }, + handle: '.widget-header', + distance: 5 + }; scope.sortableOptions = angular.extend({}, sortableDefaults, scope.options.sortableOptions || {}); }],