added travis
This commit is contained in:
6
ts/index.js
Normal file
6
ts/index.js
Normal file
@ -0,0 +1,6 @@
|
||||
/// <reference path="typings/tsd.d.ts" />
|
||||
var path = require("path");
|
||||
var open = require("open");
|
||||
var smarturl = {};
|
||||
module.exports = smarturl;
|
||||
//# sourceMappingURL=index.js.map
|
1
ts/index.js.map
Normal file
1
ts/index.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,IAAI,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAC3B,IAAI,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAE3B,IAAI,QAAQ,GAAO,EAAE,CAAC;AAItB,MAAM,CAAC,OAAO,GAAG,QAAQ,CAAC"}
|
15
ts/index.ts
15
ts/index.ts
@ -1,14 +1,9 @@
|
||||
/// <reference path="typings/tsd.d.ts" />
|
||||
var path, through;
|
||||
var path = require("path");
|
||||
var open = require("open");
|
||||
|
||||
through = require("through2");
|
||||
path = require("path");
|
||||
var smarturl:any = {};
|
||||
|
||||
module.exports = (jadeTemplate,mojo = undefined) => {
|
||||
|
||||
return through.obj((file, enc, cb) => {
|
||||
|
||||
//run callback function to signal end of plugin process.
|
||||
return cb(null, file);
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = smarturl;
|
||||
|
Reference in New Issue
Block a user