compiled fromage and instructs

This commit is contained in:
Baptiste Lemoine 2016-03-07 16:38:32 +01:00
parent 4515796551
commit c9ae6adf50
3 changed files with 35 additions and 1 deletions

View File

@ -1,2 +1,8 @@
# fromage-js
a lib to know when your code smells
# usage
include the lib from the dist/ folder.
run Fromage.init() to test your code.
Bam! you get a report.
brace yourself, usage is coming.

View File

@ -1,4 +1,6 @@
### how about some coffee with your fromage? :D
### 
how about some coffee with your fromage? :D
###
class Fromage
examine : ->
console.log('whoa this js stinks!')

26
src/fromage.js Normal file
View File

@ -0,0 +1,26 @@
// Generated by CoffeeScript 1.10.0
/* 
how about some coffee with your fromage? :D
*/
(function() {
var Fromage;
Fromage = (function() {
function Fromage() {}
Fromage.prototype.examine = function() {
return console.log('whoa this js stinks!');
};
Fromage.prototype.init = function() {
console.log('fromage is coming.');
return this.examine();
};
return Fromage;
})();
}).call(this);