Skip to content

Commit

Permalink
3.22: now that we have combo keys start at 0
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anderson committed Dec 24, 2015
1 parent 3263ff6 commit 2048280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submodules/devices/devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ define(function(require){
dataDevice.provision.feature_keys = {};
}

for (var i = 1, len = template.feature_keys.iterate; i < len; i++) {
for (var i = 0, len = template.feature_keys.iterate; i < len; i++) {
if (!dataDevice.provision.feature_keys.hasOwnProperty(i)) {
dataDevice.provision.feature_keys[i] = { type: 'none' };
}
Expand Down

0 comments on commit 2048280

Please sign in to comment.