Commit 3fd87d2c authored by Jacob Durrant's avatar Jacob Durrant
Browse files

Code documentation and restructuring, example files from manuscript, etc.

parent db3552fd
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -76,20 +76,12 @@ export function setup(): void { ...@@ -76,20 +76,12 @@ export function setup(): void {
} }
}, },
"computed": { "computed": {
/** Gets and sets the tabIdx. */
"tabIdx": { "tabIdx": {
/**
* Get the tabIdx.
* @returns number
*/
get(): number { get(): number {
return this.$store.state["tabIdx"]; return this.$store.state["tabIdx"];
}, },
/**
* Set the tabIdx value.
* @param {number} val The new value.
* @returns void
*/
set(val: number): void { set(val: number): void {
this.$store.commit("setVar", { this.$store.commit("setVar", {
name: "tabIdx", name: "tabIdx",
......
This diff is collapsed.
This diff is collapsed.
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
*/ */
// This file is part of Webina, released under the Apache 2.0 License. See // This file is part of Webina, released under the Apache 2.0 License. See
// LICENSE.md or go to https://opensource.org/licenses/Apache-2.0 for full // LICENSE.md or go to https://opensource.org/licenses/Apache-2.0 for full
// details. Copyright 2019 Jacob D. Durrant. // details. Copyright 2020 Jacob D. Durrant.
// There are a few variables and functions from vina.js that I want to easily // There are a few variables and functions from vina.js that I want to easily
// access from here. // access from here.
var VERSION = "1.0.0"; // Replaced by compile script. var VERSION = "1.0.0"; // Replaced by compile script.
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
No preview for this file type
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment