Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Commit

Permalink
Production edits
Browse files Browse the repository at this point in the history
  • Loading branch information
hnanacc committed Feb 9, 2020
1 parent f16580e commit 89d8b79
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 19 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"name": "sprint",
"author": "Harshal Nandigramwar <[email protected]>",
"description": "A tailored code editor for competitive programmers",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion src/components/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export default {
link: '/settings',
isLink: true,
action: function(){
console.log(`moved to settings`);
}
},
Expand Down
1 change: 0 additions & 1 deletion src/components/ControlTop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ export default {
},
formatLintCode: function() {
console.log("Code Formatted...");
},
copyCode: function() {
Expand Down
4 changes: 0 additions & 4 deletions src/components/MonacoDiff.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ export default {
this.$store.commit('initDiffEditor');
},
destroyed: function(){
console.log('Getting destroyed');
}
}
</script>

Expand Down
1 change: 0 additions & 1 deletion src/components/ShowTestCaseDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export default {
computed: {
testcase() {
console.log(this.$store.state.curTestCase.value);
return this.$store.state.curTestCase.value;
},
testcase_idx(){
Expand Down
4 changes: 0 additions & 4 deletions src/utils/CodeRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ export default class CodeRunner {

constructor() {

console.log('Runner initialising...');

// TODO: Add checks for language specific compiler in PATH variable.

}
Expand All @@ -30,8 +28,6 @@ export default class CodeRunner {

compileCPP(addr, lang_dir) {

console.log(addr, lang_dir);

const exe_addr = path.resolve(lang_dir, path.basename(addr, '.cpp'));

const compiler_out = spawnSync('g++', [addr, '-o', exe_addr], {
Expand Down
9 changes: 1 addition & 8 deletions src/utils/CompetitiveCompanion.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class CompetitiveCompanion {

app.post('/', (req, res) => {

console.log(req.body);

this.parseTasks(req.body);

Expand All @@ -25,20 +24,14 @@ class CompetitiveCompanion {
app.listen(this._port, (err) => {

if (err) {
console.log(err);
process.exit();
}

console.log(`Listening on port ${this._port}...`);

});

}

parseTasks(tasks){
console.log('parsing tasks...');
console.log(tasks);
}

setPort(port){
this._port = port;
}
Expand Down

0 comments on commit 89d8b79

Please sign in to comment.