Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions angular-terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ angular
// user input commands
$rootScope.$emit(namespace, input, terminal);
}, {
greetings: attrs.greetings || ''
greetings: attrs.greetings || '',
prompt: attrs.prompt || ">"
});

// receiving echo commands\
Expand All @@ -22,4 +23,4 @@ angular
});
}
};
}]);
}]);
27 changes: 27 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "angular-terminal",
"version": "1.0.0",
"description": "A port of jQuery.terminal into AngularJS",
"main": "angular-terminal.js",
"directories": {
"example": "examples"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mattlo/angular-terminal.git"
},
"keywords": [
"angular",
"jquery",
"terminal"
],
"author": "Matt Lo <mattlo.developer@gmail.com>",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/mattlo/angular-terminal/issues"
},
"homepage": "https://github.com/mattlo/angular-terminal#readme"
}