Permalink
Browse files

remove useless key check in App.set

  • Loading branch information...
1 parent 859aaa2 commit 5c2339100ab176dc243ce13b693d58764fa0b9c7 @Shogun147 committed Dec 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/katana.js
View
@@ -103,7 +103,7 @@ App.set = function(key, value) {
while(path.length > 1) {
key = path.shift();
- if (!target[key] || typeof(target[key]) !== 'object') {
+ if (typeof(target[key]) !== 'object') {
target[key] = {};
}

0 comments on commit 5c23391

Please sign in to comment.