Skip to content

Commit

Permalink
Empty prompt elements
Browse files Browse the repository at this point in the history
  • Loading branch information
vtortola committed Aug 12, 2014
1 parent 01b8571 commit b3a6e95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vtortola.ng-terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@
}

me.reset = function () {
_user = config && config.user ? config.user : 'anon';
_path = config && config.path ? config.path : '\\';
_userPathSeparator = config && config.separator ? config.separator : '@';
_promptEnd = config && config.end ? config.end : ':>';
_user = config && config.user!=null ? (config.user||'') : 'anon';
_path = config && config.path!=null ? (config.path||'') : '\\';
_userPathSeparator = config && config.separator!=null ? (config.separator||'') : '@';
_promptEnd = config && config.end!=null ? (config.end||'') : ':>';
build();
};

Expand Down

0 comments on commit b3a6e95

Please sign in to comment.