update plugin to use nmpts

This commit is contained in:
2016-03-12 08:24:05 +01:00
parent 222bfb42cd
commit 48f44ee937
15 changed files with 104 additions and 2127 deletions

View File

@@ -1,21 +1,14 @@
/// <reference path="typings/tsd.d.ts" />
/// <reference path="typings/main.d.ts" />
import plugins = require("./smartpath.plugins");
import SmartpathAbsolute = require("./smartpath.absolute");
var path = require("path");
var bl = require("beautylog");
/**
*
* @type {{getPath: (function(any): undefined)}}
*/
var smartpath:any = {
getAbsPath: function(varPath,logBool = false) {
var absPath = path.resolve(varPath);
if (logBool == true) {
bl.log('varPath is' + varPath);
bl.log('absPath is' + absPath);
}
return absPath;
}
let smartpath = {
};