From c9ae6adf5033038bed45006a2084c66dba995140 Mon Sep 17 00:00:00 2001 From: Baptiste Lemoine Date: Mon, 7 Mar 2016 16:38:32 +0100 Subject: [PATCH] compiled fromage and instructs --- README.md | 6 ++++++ src/fromage.coffee | 4 +++- src/fromage.js | 26 ++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 src/fromage.js diff --git a/README.md b/README.md index 156edd8..2090705 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/fromage.coffee b/src/fromage.coffee index cdc83b2..cd59a26 100644 --- a/src/fromage.coffee +++ b/src/fromage.coffee @@ -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!') diff --git a/src/fromage.js b/src/fromage.js new file mode 100644 index 0000000..461a12c --- /dev/null +++ b/src/fromage.js @@ -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);