diff --git a/Rakefile b/Rakefile index 4526309..fd66894 100644 --- a/Rakefile +++ b/Rakefile @@ -7,7 +7,7 @@ task :build do puts system("browserify -t coffeeify browser.app.coffee > js/markdowntomla.js") puts "building minified self-contained index.html" - html = File.read('index.html') + html = File.read('template.html') bundled = html.split("\n").map{|line| if line =~ /\ - - + + @@ -185,5 +185,15 @@ var o=n("buffer").Buffer,X=o.isEncoding||function(n){switch(n&&n.toLowerCase()){ // The above copyright notice and this permission notice shall be included // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, var U=/%[sdj%]/g;a.format=function(n){if(!A(n)){for(var e=[],a=0;a=c)return n;switch(n){case"%s":return String(r[a++]);case"%d":return Number(r[a++]);case"%j":try{return JSON.stringify(r[a++])}catch(e){return"[Circular]"}default:return n}}),o=r[a];c>a;o=r[++a])i+=h(o)||!W(o)?" "+o:" "+t(o);return i},a.deprecate=function(n,t){function c(){if(!i){if(e.throwDeprecation)throw new Error(t);e.traceDeprecation?console.trace(t):console.error(t),i=!0}return n.apply(this,arguments)}if(p(r.process))return function(){return a.deprecate(n,t).apply(this,arguments)};if(e.noDeprecation===!0)return n;var i=!1;return c};var w,Y={};a.debuglog=function(n){if(p(w)&&(w=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!Y[n])if(new RegExp("\\b"+n+"\\b","i").test(w)){var r=e.pid;Y[n]=function(){var e=a.format.apply(a,arguments);console.error("%s %d: %s",n,r,e)}}else Y[n]=function(){};return Y[n]},a.inspect=t,t.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},t.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},a.isArray=m,a.isBoolean=d,a.isNull=h,a.isNullOrUndefined=g,a.isNumber=f,a.isString=A,a.isSymbol=v,a.isUndefined=p,a.isRegExp=C,a.isObject=W,a.isDate=N,a.isError=B,a.isFunction=y,a.isPrimitive=O,a.isBuffer=n("./support/isBuffer");var _=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];a.log=function(){console.log("%s - %s",k(),a.format.apply(a,arguments))},a.inherits=n("inherits"),a._extend=function(n,e){if(!e||!W(e))return n;for(var a=Object.keys(e),r=a.length;r--;)n[a[r]]=e[a[r]];return n}}).call(this,n("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":96,_process:82,inherits:79}],98:[function(require,module,exports){function Context(){}var indexOf=require("indexof"),Object_keys=function(n){if(Object.keys)return Object.keys(n);var e=[];for(var a in n)e.push(a);return e},forEach=function(n,e){if(n.forEach)return n.forEach(e);for(var a=0;a + diff --git a/index.html b/template.html similarity index 96% rename from index.html rename to template.html index 46701ed..2b62d72 100644 --- a/index.html +++ b/template.html @@ -5,8 +5,8 @@ - - + +