mag-component-panel-set
Advanced tools
Comparing version
@@ -24,3 +24,3 @@ /** | ||
var self = this, | ||
i; | ||
index; | ||
@@ -98,8 +98,8 @@ config = config || {}; | ||
// add special listener | ||
for ( i = 0; i < this.panels.length; i++ ) { | ||
this.panels[i].addListeners({ | ||
for ( index = 0; index < this.panels.length; index++ ) { | ||
this.panels[index].addListeners({ | ||
keydown: keydownHandler | ||
}); | ||
// set panels indexes | ||
this.panels[i].index = i; | ||
this.panels[index].index = index; | ||
} | ||
@@ -106,0 +106,0 @@ |
{ | ||
"name": "mag-component-panel-set", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Base panel set implementation.", | ||
@@ -11,20 +11,21 @@ "author": { | ||
"type": "git", | ||
"url": "git@192.168.1.222:/web/magsdk/component-panel-set" | ||
"url": "https://github.com/magsdk/component-panel-set.git" | ||
}, | ||
"scripts": { | ||
"sass": "node-sass --indent-width 4 --include-path ../../.. sass/develop.480.scss css/develop.480.css && node-sass --indent-width 4 --include-path ../../.. sass/release.480.scss css/release.480.css && node-sass --indent-width 4 --include-path ../../.. sass/develop.576.scss css/develop.576.css && node-sass --indent-width 4 --include-path ../../.. sass/release.576.scss css/release.576.css && node-sass --indent-width 4 --include-path ../../.. sass/develop.720.scss css/develop.720.css && node-sass --indent-width 4 --include-path ../../.. sass/release.720.scss css/release.720.css && node-sass --indent-width 4 --include-path ../../.. sass/develop.1080.scss css/develop.1080.css && node-sass --indent-width 4 --include-path ../../.. sass/release.1080.scss css/release.1080.css", | ||
"lint": "eslint .", | ||
"lint": "eslint --ignore-pattern '/docs/' .", | ||
"test": "npm run lint", | ||
"jsdoc": "jsdoc --destination doc *.js readme.md" | ||
"jsdoc": "jsdoc --destination docs *.js readme.md" | ||
}, | ||
"dependencies": { | ||
"stb-component": "1.*.*", | ||
"stb-keys": "1.*.*" | ||
"stb-component": "^1.4.0", | ||
"stb-keys": "^1.4.3" | ||
}, | ||
"devDependencies": { | ||
"eslint": "3.*.*", | ||
"mag-eslint-config": "1.*.*" | ||
"jsdoc": "^3.5.5", | ||
"mag-eslint": "^1.0.0" | ||
}, | ||
"keywords": [ | ||
"mag", | ||
"sdk", | ||
"magsdk", | ||
@@ -31,0 +32,0 @@ "framework", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
21622
0.13%26
-3.7%1
Infinity%Updated
Updated