From 5cba72c8d946fbcd6819e400b4f0a3d4cd14330e Mon Sep 17 00:00:00 2001 From: Bojan Bratuz Date: Fri, 16 Oct 2015 14:18:20 +0200 Subject: [PATCH 1/2] fixed indent_size .editorconfig replaced Sortable with ng-sortable wrapper changed sample to use ng-sortable --- .editorconfig | 2 +- sample/index.html | 1 + sample/scripts/sample.js | 2 +- src/scripts/column.js | 147 ++++------------------------ src/styles/main.css | 8 ++ src/templates/dashboard-column.html | 21 ++-- 6 files changed, 45 insertions(+), 136 deletions(-) diff --git a/.editorconfig b/.editorconfig index b590938f..90557414 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,4 +10,4 @@ end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true -ident_size = 2 +indent_size = 2 diff --git a/sample/index.html b/sample/index.html index 7db9157e..08f5e00f 100644 --- a/sample/index.html +++ b/sample/index.html @@ -125,6 +125,7 @@ + diff --git a/sample/scripts/sample.js b/sample/scripts/sample.js index 888bd1f7..83b92b25 100644 --- a/sample/scripts/sample.js +++ b/sample/scripts/sample.js @@ -30,7 +30,7 @@ angular.module('sample', [ 'adf.widget.github', 'adf.widget.version', 'adf.widget.clock', 'LocalStorageModule', 'sample-01', 'sample-02', 'sample-03', - 'sample-04', 'sample-05', 'ngRoute' + 'sample-04', 'sample-05', 'ngRoute', 'ng-sortable' ]) .config(function(dashboardProvider, $routeProvider, localStorageServiceProvider){ dashboardProvider.widgetsPath('widgets/'); diff --git a/src/scripts/column.js b/src/scripts/column.js index cace0f5a..56d85993 100644 --- a/src/scripts/column.js +++ b/src/scripts/column.js @@ -28,136 +28,18 @@ angular.module('adf') .directive('adfDashboardColumn', function ($log, $compile, $rootScope, adfTemplatePath, rowTemplate, dashboard) { 'use strict'; - /** - * moves a widget in between a column - */ - function moveWidgetInColumn($scope, column, evt){ - var widgets = column.widgets; - // move widget and apply to scope - $scope.$apply(function(){ - widgets.splice(evt.newIndex, 0, widgets.splice(evt.oldIndex, 1)[0]); - $rootScope.$broadcast('adfWidgetMovedInColumn'); - }); - } - - /** - * finds a widget by its id in the column - */ - function findWidget(column, index){ - var widget = null; - for (var i=0; i - + +
+ + + +
+ + From 48996e0d9b6f4939fd8b11ebf1063da25a593e25 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Wed, 26 Jul 2017 19:08:02 +0000 Subject: [PATCH 2/2] Create initial dependencies.yml config --- dependencies.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dependencies.yml diff --git a/dependencies.yml b/dependencies.yml new file mode 100644 index 00000000..6baad7c8 --- /dev/null +++ b/dependencies.yml @@ -0,0 +1,11 @@ +collectors: + +- type: js-npm + path: / + actors: + # pull requests for updates to our major version + - type: js-npm + versions: "L.Y.Y" + # create issues for new major versions + - type: repo-issue + versions: "Y.0.0" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy