smartpath/ts/smartpath.classes.smartpath.ts

16 lines
482 B
TypeScript
Raw Permalink Normal View History

2018-07-21 21:26:11 +00:00
import * as plugins from './smartpath.plugins';
import * as getMod from './smartpath.get';
export class Smartpath {
2018-07-21 21:26:11 +00:00
originalPath: string;
type: getMod.TPathType;
pathLevels: string[];
pathLevelsBackwards: string[];
2017-02-19 02:29:54 +00:00
constructor(pathArg: string) {
2018-07-21 21:26:11 +00:00
this.originalPath = pathArg;
this.type = getMod.type(this.originalPath);
this.pathLevels = getMod.pathLevels(this.originalPath);
this.pathLevelsBackwards = getMod.pathLevelsBackwards(this.originalPath);
2017-02-19 02:29:54 +00:00
}
}