Permalink
Browse files

Fixing if/else branch

  • Loading branch information...
1 parent 31218df commit b2834c656c2b20f060a426cc1d3d3e0b7815fc24 @sgithens committed Apr 25, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 node_modules/gsettingsBridge/gsettings_bridge.js
@@ -37,8 +37,10 @@ https://github.com/gpii/universal/LICENSE.txt
settings[schemaId][key] = nodeGSettings.get_gsetting(schemaId,key);
}
}
- for (var settingKey in settings[schemaId]) {
- settings[schemaId][settingKey] = nodeGSettings.get_gsetting(schemaId,settingKey);
+ else {
+ for (var settingKey in settings[schemaId]) {
+ settings[schemaId][settingKey] = nodeGSettings.get_gsetting(schemaId,settingKey);
+ }
}
}
}

0 comments on commit b2834c6

Please sign in to comment.