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 |
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 */ |