This commit is contained in:
Philipp Kunz 2015-11-13 22:53:28 +01:00
parent 3e048da0df
commit fd5f02d6c7
18 changed files with 38 additions and 12 deletions

View File

@ -24,7 +24,7 @@
},
"homepage": "https://github.com/pushrocks/beautylog",
"dependencies": {
"cli-color": "^1.0.0",
"cli-color": "^1.1.0",
"colors": "1.1.2"
}
}

View File

@ -22,4 +22,4 @@ var BeautylogBrowser;
}
BeautylogBrowser.init = init;
})(BeautylogBrowser || (BeautylogBrowser = {}));
//# sourceMappingURL=console.browser.js.map
//# sourceMappingURL=beautylog.browser.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"beautylog.browser.js","sourceRoot":"","sources":["beautylog.browser.ts"],"names":["BeautylogBrowser","BeautylogBrowser.init"],"mappings":"AAAA,mCAAmC;AACnC,IAAO,gBAAgB,CAoBtB;AApBD,WAAO,gBAAgB,EAAC,CAAC;IACrBA;QACIC,IAAIA,gBAAgBA,GAAOA,EAAEA,CAACA;QAC9BA,gBAAgBA,CAACA,GAAGA,GAAGA,UAASA,OAAOA;YACnC,OAAO,CAAC,GAAG,CAAC,aAAa,GAAG,OAAO,EAAC,kCAAkC,EAAC,gBAAgB,CAAC,CAAC;QAC7F,CAAC,CAACA;QACFA,gBAAgBA,CAACA,IAAIA,GAAGA,UAASA,OAAOA;YACpC,OAAO,CAAC,GAAG,CAAC,cAAc,GAAG,OAAO,EAAC,mCAAmC,EAAC,gBAAgB,CAAC,CAAC;QAC/F,CAAC,CAACA;QACFA,gBAAgBA,CAACA,EAAEA,GAAGA,UAASA,OAAOA;YAClC,OAAO,CAAC,GAAG,CAAC,YAAY,GAAG,OAAO,EAAC,mCAAmC,EAAC,gBAAgB,CAAC,CAAC;QAC7F,CAAC,CAACA;QACFA,gBAAgBA,CAACA,OAAOA,GAAGA,UAASA,OAAOA;YACvC,OAAO,CAAC,GAAG,CAAC,iBAAiB,GAAG,OAAO,EAAC,mCAAmC,EAAC,gBAAgB,CAAC,CAAC;QAClG,CAAC,CAACA;QACFA,gBAAgBA,CAACA,IAAIA,GAAGA,UAASA,OAAOA;YACpC,OAAO,CAAC,GAAG,CAAC,cAAc,GAAG,OAAO,EAAC,mCAAmC,EAAC,gBAAgB,CAAC,CAAC;QAC/F,CAAC,CAACA;QACFA,MAAMA,CAACA,gBAAgBA,CAACA;IAC5BA,CAACA;IAlBeD,qBAAIA,OAkBnBA,CAAAA;AACLA,CAACA,EApBM,gBAAgB,KAAhB,gBAAgB,QAoBtB"}

10
ts/beautylog.classes.js Normal file
View File

@ -0,0 +1,10 @@
/// <reference path="./index.ts" />
var ConsoleTable = (function () {
function ConsoleTable() {
}
ConsoleTable.prototype.print = function () {
alert(this.name + " moved " + meters + "m.");
};
return ConsoleTable;
})();
//# sourceMappingURL=beautylog.classes.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"beautylog.classes.js","sourceRoot":"","sources":["beautylog.classes.ts"],"names":["ConsoleTable","ConsoleTable.constructor","ConsoleTable.print"],"mappings":"AAAA,mCAAmC;AACnC;IAEIA;IAAeC,CAACA;IAChBD,4BAAKA,GAALA;QACIE,KAAKA,CAACA,IAAIA,CAACA,IAAIA,GAAGA,SAASA,GAAGA,MAAMA,GAAGA,IAAIA,CAACA,CAACA;IACjDA,CAACA;IACLF,mBAACA;AAADA,CAACA,AAND,IAMC"}

8
ts/beautylog.classes.ts Normal file
View File

@ -0,0 +1,8 @@
/// <reference path="./index.ts" />
class ConsoleTable {
rows:[];
constructor() {}
print() {
alert(this.name + " moved " + meters + "m.");
}
}

View File

@ -114,4 +114,4 @@ var BeautylogOS;
}
BeautylogOS.init = init;
})(BeautylogOS || (BeautylogOS = {}));
//# sourceMappingURL=console.os.js.map
//# sourceMappingURL=beautylog.os.js.map

1
ts/beautylog.os.js.map Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"beautylog.os.js","sourceRoot":"","sources":["beautylog.os.ts"],"names":["BeautylogOS","BeautylogOS.init"],"mappings":"AAAA,mCAAmC;AACnC,IAAO,WAAW,CA0HjB;AA1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A,IAAIA,GAAGA,UAASA,OAAOA;YAC/B,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC5C,CAAC,CAACA;QAEFA,MAAMA,CAACA,WAAWA,CAACA;IACvBA,CAACA;IAxHeD,gBAAIA,OAwHnBA,CAAAA;AACLA,CAACA,EA1HM,WAAW,KAAX,WAAW,QA0HjB"}

1
ts/beautylog.os.table.js Normal file
View File

@ -0,0 +1 @@
//# sourceMappingURL=beautylog.os.table.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"beautylog.os.table.js","sourceRoot":"","sources":["beautylog.os.table.ts"],"names":[],"mappings":"AAEC"}

3
ts/beautylog.os.table.ts Normal file
View File

@ -0,0 +1,3 @@
module BeautylogOsTable {
}

View File

@ -108,7 +108,7 @@ module BeautylogOS {
*/
beautylogOS.success = function(logText) {
return beautylogOS.log(logText, 'success');
}
};
/**
* logs a 'warn:' message to console
@ -117,7 +117,7 @@ module BeautylogOS {
*/
beautylogOS.warn = function(logText) {
return beautylogOS.log(logText, 'warn');
}
};
return beautylogOS;
}

View File

@ -1 +0,0 @@
{"version":3,"file":"console.browser.js","sourceRoot":"","sources":["console.browser.ts"],"names":["BeautylogBrowser","BeautylogBrowser.init"],"mappings":"AAAA,mCAAmC;AACnC,IAAO,gBAAgB,CAoBtB;AApBD,WAAO,gBAAgB,EAAC,CAAC;IACrBA;QACIC,IAAIA,gBAAgBA,GAAOA,EAAEA,CAACA;QAC9BA,gBAAgBA,CAACA,GAAGA,GAAGA,UAASA,OAAOA;YACnC,OAAO,CAAC,GAAG,CAAC,aAAa,GAAG,OAAO,EAAC,kCAAkC,EAAC,gBAAgB,CAAC,CAAC;QAC7F,CAAC,CAACA;QACFA,gBAAgBA,CAACA,IAAIA,GAAGA,UAASA,OAAOA;YACpC,OAAO,CAAC,GAAG,CAAC,cAAc,GAAG,OAAO,EAAC,mCAAmC,EAAC,gBAAgB,CAAC,CAAC;QAC/F,CAAC,CAACA;QACFA,gBAAgBA,CAACA,EAAEA,GAAGA,UAASA,OAAOA;YAClC,OAAO,CAAC,GAAG,CAAC,YAAY,GAAG,OAAO,EAAC,mCAAmC,EAAC,gBAAgB,CAAC,CAAC;QAC7F,CAAC,CAACA;QACFA,gBAAgBA,CAACA,OAAOA,GAAGA,UAASA,OAAOA;YACvC,OAAO,CAAC,GAAG,CAAC,iBAAiB,GAAG,OAAO,EAAC,mCAAmC,EAAC,gBAAgB,CAAC,CAAC;QAClG,CAAC,CAACA;QACFA,gBAAgBA,CAACA,IAAIA,GAAGA,UAASA,OAAOA;YACpC,OAAO,CAAC,GAAG,CAAC,cAAc,GAAG,OAAO,EAAC,mCAAmC,EAAC,gBAAgB,CAAC,CAAC;QAC/F,CAAC,CAACA;QACFA,MAAMA,CAACA,gBAAgBA,CAACA;IAC5BA,CAACA;IAlBeD,qBAAIA,OAkBnBA,CAAAA;AACLA,CAACA,EApBM,gBAAgB,KAAhB,gBAAgB,QAoBtB"}

View File

@ -1 +0,0 @@
{"version":3,"file":"console.os.js","sourceRoot":"","sources":["console.os.ts"],"names":["BeautylogOS","BeautylogOS.init"],"mappings":"AAAA,mCAAmC;AACnC,IAAO,WAAW,CA0HjB;AA1HD,WAAO,WAAW,EAAC,CAAC;IAChBA;QACIC,IAAIA,MAAMA,GAAGA,OAAOA,CAACA,QAAQA,CAACA,CAACA;QAC/BA,IAAIA,GAAGA,GAAGA,OAAOA,CAACA,WAAWA,CAACA,CAACA;QAE/BA,IAAIA,WAAWA,GAAOA,EAAEA,CAACA;QACzBA;;;WAGGA;QACHA,IAAIA,OAAWA,CAACA;QAChBA,OAAOA,GAAGA,EAAEA,CAACA;QACbA,OAAOA,CAACA,SAASA,GAAGA,GAAGA,CAACA,OAAOA,CAACA,EAAEA,CAACA,CAACA,KAAKA,CAACA,GAAGA,CAACA,CAACA,IAAIA,CAACA,OAAOA,CAACA,GAAGA,GAAGA,CAACA;QACnEA,OAAOA,CAACA,WAAWA,GAAGA,UAAUA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AC9B,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QAC3C,CAAC,CAACA;QAGFA;;;;WAIGA;QACHA,WAAWA,CAACA,KAAKA,GAAGA,UAASA,OAAOA;YAChC,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC7C,CAAC,CAACA;QAEFA;;;;WAIGA;QACHA,WAAWA,CAACA,IAAIA,GAAGA,UAASA,OAAOA;YAC/B,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC5C,CAAC,CAACA;QAEFA;;;;WAIGA;QACHA,WAAWA,CAACA,EAAEA,GAAGA,UAASA,OAAOA;YAC7B,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC,CAACA;QAEFA;;;;WAIGA;QACHA,WAAWA,CAACA,OAAOA,GAAGA,UAASA,OAAOA;YAClC,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAC/C,CAAC,CAAAA;QAEDA;;;;WAIGA;QACHA,WAAWA,CAACA,IAAIA,GAAGA,UAASA,OAAOA;YAC/B,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC5C,CAAC,CAAAA;QAEDA,MAAMA,CAACA,WAAWA,CAACA;IACvBA,CAACA;IAxHeD,gBAAIA,OAwHnBA,CAAAA;AACLA,CAACA,EA1HM,WAAW,KAAX,WAAW,QA0HjB"}

View File

@ -1,6 +1,7 @@
/// <reference path="./typings/tsd.d.ts" />
/// <reference path="./console.os.ts" />
/// <reference path="./console.browser.ts" />
/// <reference path="./beautylog.classes.ts" />
/// <reference path="./beautylog.os.ts" />
/// <reference path="./beautylog.browser.ts" />
var beautylog = function (logPlatform) {
if (logPlatform === void 0) { logPlatform = "os"; }
switch (logPlatform) {

View File

@ -1 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,wCAAwC;AACxC,6CAA6C;AAE7C,IAAI,SAAS,GAAG,UAAS,WAAyB;IAAzB,2BAAyB,GAAzB,kBAAyB;IAC9C,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;QAClB,KAAK,IAAI;YACL,IAAI,WAAW,GAAG,WAAW,CAAC,IAAI,EAAE,CAAC;YACrC,MAAM,CAAC,WAAW,CAAC;YACnB,KAAK,CAAC;QACV,KAAK,SAAS;YACV,IAAI,gBAAgB,GAAG,gBAAgB,CAAC,IAAI,EAAE,CAAC;YAC/C,MAAM,CAAC,gBAAgB,CAAC;YACxB,KAAK,CAAC;QACV;YACI,OAAO,CAAC,GAAG,CAAC,0DAA0D,CAAC,CAAC;YACxE,KAAK,CAAC;IACd,CAAC;AACL,CAAC,CAAC;AACF,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,+CAA+C;AAC/C,0CAA0C;AAC1C,+CAA+C;AAE/C,IAAI,SAAS,GAAG,UAAS,WAAyB;IAAzB,2BAAyB,GAAzB,kBAAyB;IAC9C,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;QAClB,KAAK,IAAI;YACL,IAAI,WAAW,GAAG,WAAW,CAAC,IAAI,EAAE,CAAC;YACrC,MAAM,CAAC,WAAW,CAAC;YACnB,KAAK,CAAC;QACV,KAAK,SAAS;YACV,IAAI,gBAAgB,GAAG,gBAAgB,CAAC,IAAI,EAAE,CAAC;YAC/C,MAAM,CAAC,gBAAgB,CAAC;YACxB,KAAK,CAAC;QACV;YACI,OAAO,CAAC,GAAG,CAAC,0DAA0D,CAAC,CAAC;YACxE,KAAK,CAAC;IACd,CAAC;AACL,CAAC,CAAC;AACF,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC"}

View File

@ -1,6 +1,7 @@
/// <reference path="./typings/tsd.d.ts" />
/// <reference path="./console.os.ts" />
/// <reference path="./console.browser.ts" />
/// <reference path="./beautylog.classes.ts" />
/// <reference path="./beautylog.os.ts" />
/// <reference path="./beautylog.browser.ts" />
var beautylog = function(logPlatform:string = "os") {
switch (logPlatform) {