Skip to content

Commit 990456f

Browse files
committed
x
1 parent 31aadd1 commit 990456f

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

src/views/Practise.vue

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -202,19 +202,29 @@
202202
<q-btn flat id="subm" @click="Add(Keyword.Print + '()')">{{
203203
Keyword.Print
204204
}}</q-btn>
205-
<q-btn flat id="subm" @click="Add(Keyword.Input + '()')">{{Keyword.Input}}</q-btn>
205+
<q-btn flat id="subm" @click="Add(Keyword.Input + '()')">{{
206+
Keyword.Input
207+
}}</q-btn>
206208

207209
<q-btn flat id="subm" @click="Add(Keyword.If + '()')">{{
208210
Keyword.If
209211
}}</q-btn>
210212

211-
<q-btn flat id="subm" @click="Add(Keyword.For)">{{Keyword.For}}</q-btn>
213+
<q-btn flat id="subm" @click="Add(Keyword.For)">{{
214+
Keyword.For
215+
}}</q-btn>
212216
<q-btn flat id="subm" @click="Add(Keyword.While + '()')">{{
213217
Keyword.While
214218
}}</q-btn>
215-
<q-btn flat id="subm" @click="Add(Keyword.Length + '()')">{{Keyword.Length}}</q-btn>
216-
<q-btn flat id="subm" @click="Add(Keyword.Push)">{{Keyword.Push}}</q-btn>
217-
<q-btn flat id="subm" @click="Add(Keyword.Function)">{{Keyword.Function}}</q-btn>
219+
<q-btn flat id="subm" @click="Add(Keyword.Length + '()')">{{
220+
Keyword.Length
221+
}}</q-btn>
222+
<q-btn flat id="subm" @click="Add(Keyword.Push)">{{
223+
Keyword.Push
224+
}}</q-btn>
225+
<q-btn flat id="subm" @click="Add(Keyword.Function)">{{
226+
Keyword.Function
227+
}}</q-btn>
218228
</div>
219229
</div>
220230

@@ -281,7 +291,7 @@ import "codemirror/addon/fold/markdown-fold.js";
281291
import "codemirror/addon/fold/xml-fold.js";
282292
// Importing our Compile Engine
283293
//this should come from npm package.
284-
// import Compile from '../lib/Compiler/main';
294+
//import Compile from "../lib/Compiler/main";
285295
286296
import { Compile } from "kalaam";
287297
@@ -360,7 +370,7 @@ export default {
360370
361371
model: null,
362372
363-
options: ["Hindi", "Marathi","Bengali"],
373+
options: ["Hindi", "Marathi", "Bengali"],
364374
};
365375
},
366376
@@ -382,8 +392,7 @@ export default {
382392
localStorage.setItem("ActiveLangugae", this.ActiveLanguage);
383393
384394
this.Keyword = KalaamKeywords.Marathi;
385-
}
386-
else if (this.ActiveLanguage == "Bengali") {
395+
} else if (this.ActiveLanguage == "Bengali") {
387396
localStorage.setItem("ActiveLangugae", this.ActiveLanguage);
388397
389398
this.Keyword = KalaamKeywords.Bengali;
@@ -508,6 +517,7 @@ export default {
508517
this.error = error;
509518
this.output = output;
510519
this.ExecutionStack = ExecutionStack;
520+
console.log("this:", this);
511521
},
512522
513523
RunLinebyLine: function () {

0 commit comments

Comments
 (0)