Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mean-date-filter

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mean-date-filter - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

public/routes/LICENSE

2

package.json
{
"name": "mean-date-filter",
"version": "0.0.5",
"version": "0.0.6",
"description": "Filter with start and end dates. Includes datepickers and quick select buttons.",

@@ -5,0 +5,0 @@ "author": {

'use strict';
angular.module('mean.date-filter').controller('DateFilterController', ['$scope', 'Global', 'DateFilter',
angular.module('mean.mean-date-filter').controller('DateFilterController', ['$scope', 'Global', 'DateFilter',
function($scope, Global, DateFilter) {

@@ -5,0 +5,0 @@ $scope.global = Global;

'use strict';
angular.module('mean.mean-date-filter').directive('meanDateFilter', ['DateFilter',
angular.module('mean.mean-date-filter').directive('meanDateFilter', ['MeanDateFilter',
function(DateFilter) {
function(MeanDateFilter) {
return {

@@ -78,7 +78,7 @@ restrict: 'A',

$scope.save = function() {
DateFilter.setDateFilter($scope.startDate, $scope.endDate, $scope.mode, function(data) {});
MeanDateFilter.setDateFilter($scope.startDate, $scope.endDate, $scope.mode, function(data) {});
};
var load = function() {
DateFilter.getDateFilter(function(data) {
MeanDateFilter.getDateFilter(function(data) {
if (typeof data.startDate !== 'undefined') {

@@ -85,0 +85,0 @@ $scope.startDate = moment(data.startDate).toDate();

'use strict';
angular.module('mean.mean-date-filter').config(['$stateProvider',
function($stateProvider) {
}
]);
'use strict';
angular.module('mean.mean-date-filter').factory('DateFilter', ['$http',
angular.module('mean.mean-date-filter').factory('MeanDateFilter', ['$http',
function($http) {

@@ -5,0 +5,0 @@ var setDateFilter = function(startDate, endDate, mode, callback) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc