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

ng-keyboard

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-keyboard - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "ng-keyboard",
"version": "0.3.0",
"version": "0.3.1",
"description": "Keyboard shortcuts for angular apps",

@@ -5,0 +5,0 @@ "main": "src/module.js",

@@ -46,2 +46,9 @@ var _ = require('lodash');

/**
* Global instance counter which is increased for each new instance
*
* @type {Number}
*/
var instanceCounter = 0;
/**
* Set the instanceCounter for the initial instance

@@ -51,3 +58,3 @@ *

*/
this.instanceCounter = 0;
this.instanceCounter = instanceCounter++;

@@ -348,3 +355,3 @@ $window = angular.element($window);

var newInst = Object.create(this);
newInst.instanceCounter = this.instanceCounter + 1;
newInst.instanceCounter = instanceCounter++;

@@ -351,0 +358,0 @@ scope.$on('$destroy', function() {

Sorry, the diff of this file is too big to display

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