CarrollCloud / js-value-wrappers (public) (License: GPLv3) (since 2018-06-24) (hash sha1)
Wrappers are classes that contain a specific value, and have methods to work on said value.
Example: Dimension to store length values, contains methods to convert and display the dimension in various ways.
List of commits:
Subject Hash Author Date (UTC)
Updated annotation and changed constants to "readonly" 41a55d12e4291b3734afdaa889fc7990bd44738e William 2018-07-17 01:22:49
Stop tracking "lib" 33b2fbd9fb1ebf04adb5e1200301d38d86bd48d3 William 2018-07-17 01:21:03
Updated Typescript info c0f60d7791019fc6c34f3919ef52f3f837715349 Carroll 2018-06-30 20:43:24
Updated to es2017 for output and es2015 modules. 0da36b29ab4a0c98291c041a43ba968a4c7626e6 Carroll 2018-06-30 20:14:54
Index is simply for the npm entrypoint. 0028d75bb694d64078f0208160944b09870db975 Carroll 2018-06-24 02:12:00
DimWrapper is to hold a dimension. 46e9f9f9123b270f2ce4d3cc84d73f55c4cdf8ba Carroll 2018-06-24 02:11:47
NumericWrapper is to hold a number. Go figure. 2daf55f2e94126859ed26bdc9cb9e4e3f33541eb Carroll 2018-06-24 02:05:19
Wrapper is the base class for this package. 552caf51d2c7e4400dafe788e632972cd860b97e Carroll 2018-06-24 02:03:47
Uploading metadata 6ec5ca0bf2000ad865e4f64ddc26e2e64a0d6a99 Carroll 2018-06-24 02:02:09
Commit 41a55d12e4291b3734afdaa889fc7990bd44738e - Updated annotation and changed constants to "readonly"
Author: William
Author date (UTC): 2018-07-17 01:22
Committer name: William
Committer date (UTC): 2018-07-17 01:22
Parent(s): 33b2fbd9fb1ebf04adb5e1200301d38d86bd48d3
Signing key:
Tree: bb1129cd02b96b79bf6bbca156ecdec3bfc4099f
File Lines added Lines deleted
src/wrappers/DimWrapper.ts 2 2
src/wrappers/Wrapper.ts 1 1
File src/wrappers/DimWrapper.ts changed (mode: 100644) (index a41d09e..cb9f1ef)
... ... import { NumericWrapper } from "./NumericWrapper"
7 7 */ */
8 8 export class DimWrapper extends NumericWrapper { export class DimWrapper extends NumericWrapper {
9 9 /** Number of inches in a meter */ /** Number of inches in a meter */
10 static inchInMeter = 39.37008
10 static readonly inchInMeter = 39.37008
11 11 /** Number of feet in a meter */ /** Number of feet in a meter */
12 static footInMeter = 3.28084
12 static readonly footInMeter = 3.28084
13 13 /** The value that is stored in meters */ /** The value that is stored in meters */
14 14 value: number = 0 value: number = 0
15 15 /** Creates a new instance of wrapper with the given value */ /** Creates a new instance of wrapper with the given value */
File src/wrappers/Wrapper.ts changed (mode: 100644) (index 27d18ce..85a95f2)
1 1 /** /**
2 2 * Base Wrapper object * Base Wrapper object
3 3 * A wrapper is to store base values and contains methods to operate on them. * A wrapper is to store base values and contains methods to operate on them.
4 * Using CarrollCloud database, these will be wrapped and unwrapped during serializaiton of classed objects
4 * Using a database, these will be wrapped and unwrapped during serializaiton of classed objects
5 5 */ */
6 6 export class Wrapper { export class Wrapper {
7 7 /** The value that is to be wrapped */ /** The value that is to be wrapped */
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/CarrollCloud/js-value-wrappers

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/CarrollCloud/js-value-wrappers

Clone this repository using git:
git clone git://git.rocketgit.com/user/CarrollCloud/js-value-wrappers

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main