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

fastbinder

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastbinder - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

bower_components/jquery/.bower.json

23

jquery.fastbinder.js

@@ -89,18 +89,4 @@ /**

function keyPressed(e, key) {
var keys = {
'LEFT_CLICK': 1,
'MIDDLE_CLICK': 2,
'RIGHT_CLICK': 3,
'TAB': 9,
'ENTER': 13,
'ESCAPE': 27,
'LEFT_ARROW': 37,
'UP_ARROW': 38,
'RIGHT_ARROW': 39,
'DOWN_ARROW': 40,
'TILDE': 192
};
return e && e.which === keys[key];
function isEnterKey(e) {
return e && e.which === 13;
}

@@ -188,3 +174,3 @@

if (target.is('input, textarea')) {
if (keyPressed(e, 'ENTER')) {
if (isEnterKey(e)) {
fireEventHandler(target, 'on-submit', e);

@@ -229,2 +215,5 @@ } else {

$.fastbinder.on = genericBinder;
$.fastbinder.strToFunction = strToFunction;
$.fastbinder.getController = getController;
$.fastbinder.fireEventHandler = fireEventHandler;

@@ -231,0 +220,0 @@ $.fastbinder.defaults = {

{
"name": "fastbinder",
"description": "Fast and worry-free dynamic event binding",
"version": "0.3.6",
"version": "0.3.7",
"repository": "https://github.com/andrewchilds/fastbinder.git",

@@ -12,14 +12,23 @@ "author": {

"engines": {
"node": "0.10.x",
"npm": "2.x"
"node": "5.x",
"npm": "3.x"
},
"scripts": {
"test": "grunt test"
"test": "./node_modules/grunt-cli/bin/grunt test"
},
"dependencies": {
"grunt": "0.4.2",
"grunt-karma": "*",
"grunt-contrib-jshint": "0.8.0",
"grunt-contrib-watch": "0.5.3"
"devDependencies": {
"grunt": "0.4.5",
"grunt-cli": "0.1.13",
"grunt-contrib-jshint": "1.0.0",
"grunt-contrib-watch": "1.0.0",
"grunt-karma": "0.12.1",
"jasmine-core": "2.4.1",
"karma": "0.13.22",
"karma-chrome-launcher": "0.2.2",
"karma-coffee-preprocessor": "0.3.0",
"karma-jasmine": "0.3.8",
"karma-jasmine-jquery": "0.1.1",
"karma-phantomjs-launcher": "1.0.0",
"phantomjs-prebuilt": "2.1.5"
}
}

@@ -79,6 +79,2 @@ # Fastbinder

```js
```
### Setting a Controller Scope

@@ -85,0 +81,0 @@

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