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

angular-flash-alert

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-flash-alert - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

4

bower.json
{
"name": "angular-flash-alert",
"version": "2.2.0",
"version": "2.2.1",
"homepage": "https://github.com/sachinchoolur/angular-flash",

@@ -9,3 +9,3 @@ "authors": [

"description": "Flash messages for AngularJS and Bootstrap",
"main": ["angular-flash.js", "angular-flash.css"],
"main": ["dist/angular-flash.js", "dist/angular-flash.css"],
"keywords": [

@@ -12,0 +12,0 @@ "angular-flash",

@@ -1,4 +0,1 @@

/*! angular-flash - v2.2.0 - 2016-02-06
* https://github.com/sachinchoolur/angular-flash
* Copyright (c) 2016 Sachin; Licensed MIT */
'use strict';

@@ -49,3 +46,3 @@

},
template: '<div ng-show="$root.flashes.length > 0"><div role="alert" ng-repeat="flash in $root.flashes track by $index" id="{{flash.config.id}}" class="alert {{flash.config.class}} alert-{{flash.type}} alert-dismissible alertIn alertOut"><button type="button" class="close" ng-show="flash.showClose" close-flash="{{flash.id}}"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> <span dynamic="flash.text"></span> </div></div>',
template: '<div ng-show="$root.flashes.length > 0"><div role="alert" ng-repeat="flash in $root.flashes track by $index" id="{{flash.config.id}}" class="alert {{flash.config.class}} alert-{{flash.type}} alert-dismissible alertIn alertOut"><div type="button" class="close" ng-show="flash.showClose" close-flash="{{flash.id}}"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></div> <span dynamic="flash.text"></span> </div></div>',
link: function link(scope, ele, attrs) {

@@ -100,4 +97,4 @@ Flash.setDefaultTimeout(scope.duration);

flash.timeoutObj = $timeout(function (id) {
$this.dismiss(id);
}, flash.timeout, true, flash.id);
$this.dismiss(flash.id);
}, flash.timeout);
}

@@ -104,0 +101,0 @@ return flash.id;

@@ -1,2 +0,2 @@

/*! angular-flash - v2.2.0 - 2016-02-06
/*! angular-flash - v2.2.0 - 2016-02-22
* https://github.com/sachinchoolur/angular-flash

@@ -29,3 +29,3 @@ * Copyright (c) 2016 Sachin; Licensed MIT */

scope: {duration: "=", showClose: "=", onDismiss: "&"},
template: '<div ng-show="$root.flashes.length > 0"><div role="alert" ng-repeat="flash in $root.flashes track by $index" id="{{flash.config.id}}" class="alert {{flash.config.class}} alert-{{flash.type}} alert-dismissible alertIn alertOut"><button type="button" class="close" ng-show="flash.showClose" close-flash="{{flash.id}}"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> <span dynamic="flash.text"></span> </div></div>',
template: '<div ng-show="$root.flashes.length > 0"><div role="alert" ng-repeat="flash in $root.flashes track by $index" id="{{flash.config.id}}" class="alert {{flash.config.class}} alert-{{flash.type}} alert-dismissible alertIn alertOut"><div type="button" class="close" ng-show="flash.showClose" close-flash="{{flash.id}}"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></div> <span dynamic="flash.text"></span> </div></div>',
link: function(b, c, d) {

@@ -61,4 +61,4 @@ function e(a) {

}, k.showClose = "undefined" != typeof i ? i : d.defaultShowClose, d.defaultTimeout && "undefined" == typeof g ? k.timeout = d.defaultTimeout : g && (k.timeout = g), a.flashes.push(k), k.timeout && (k.timeoutObj = b(function(a) {
j.dismiss(a)
}, k.timeout, !0, k.id)), k.id
j.dismiss(k.id)
}, k.timeout)), k.id
}, d.pause = function(c) {

@@ -65,0 +65,0 @@ a.flashes[c].timeoutObj && b.cancel(a.flashes[c].timeoutObj)

@@ -33,6 +33,2 @@ module.exports = function (grunt) {

concat: {
options: {
banner: '<%= banner %>',
stripBanners: true
},
basic: {

@@ -79,13 +75,5 @@ src: [distPath + 'angular-flash.js'],

watch: {
gruntfile: {
files: '<%= jshint.gruntfile.src %>',
tasks: ['jshint:gruntfile']
},
src: {
files: '<%= jshint.src.src %>',
tasks: ['jshint:src', 'qunit']
},
test: {
files: '<%= jshint.test.src %>',
tasks: ['jshint:test', 'qunit']
files: ['Gruntfile.js', 'src/*.*'],
tasks: ['default']
}

@@ -92,0 +80,0 @@ },

{
"name": "angular-flash-alert",
"version": "2.2.0",
"version": "2.2.1",
"description": "Flash message for AngularJS and Bootstrap",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,2 +0,2 @@

/*! angular-flash - v2.2.0 - 2016-02-06
/*! angular-flash - v2.2.1 - 2016-02-06
* https://github.com/sachinchoolur/angular-flash

@@ -51,3 +51,3 @@ * Copyright (c) 2016 Sachin; Licensed MIT */

},
template: '<div ng-show="$root.flashes.length > 0"><div role="alert" ng-repeat="flash in $root.flashes track by $index" id="{{flash.config.id}}" class="alert {{flash.config.class}} alert-{{flash.type}} alert-dismissible alertIn alertOut"><button type="button" class="close" ng-show="flash.showClose" close-flash="{{flash.id}}"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> <span dynamic="flash.text"></span> </div></div>',
template: '<div ng-show="$root.flashes.length > 0"><div role="alert" ng-repeat="flash in $root.flashes track by $index" id="{{flash.config.id}}" class="alert {{flash.config.class}} alert-{{flash.type}} alert-dismissible alertIn alertOut"><div type="button" class="close" ng-show="flash.showClose" close-flash="{{flash.id}}"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></div> <span dynamic="flash.text"></span> </div></div>',
link: function(scope, ele, attrs) {

@@ -105,5 +105,5 @@ Flash.setDefaultTimeout(scope.duration);

if (flash.timeout) {
flash.timeoutObj = $timeout(function(id) {
$this.dismiss(id);
}, flash.timeout, true, flash.id);
flash.timeoutObj = $timeout(function() {
$this.dismiss(flash.id);
}, flash.timeout);
}

@@ -110,0 +110,0 @@ return flash.id;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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