now correctly parsing a Domain

This commit is contained in:
2016-05-25 05:06:19 +02:00
parent 6a1fb1ec50
commit bd4de36143
22 changed files with 176 additions and 62 deletions

View File

@@ -1,10 +1,10 @@
/// <reference path="./typings/main.d.ts" />
import "typings-global"
import plugins = require("./smartstring.plugins");
/* ---------------------------------------------- *
* ------------------ classes ------------------- *
* ---------------------------------------------- */
export class gitRepo {
export class GitRepo {
host:string;
user:string;
repo:string;
@@ -50,12 +50,4 @@ let gitLink = function(hostArg:string, userArg:string, repoArg:string, tokenArg:
break;
}
return returnString;
};
/* ---------------------------------------------- *
* ------------------ exports ------------------- *
* ---------------------------------------------- */
export let git = function(stringArg:string,tokenArg?:string){
let localGitRepo = new gitRepo(stringArg,tokenArg);
return localGitRepo;
};