fix typo and rename template
This commit is contained in:
parent
18c72237bd
commit
415a3ee0a5
2
Rakefile
2
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 =~ /\<script.*src=\"(.*)\"/
|
||||
path = $1
|
||||
|
@ -5,8 +5,8 @@
|
||||
<meta content="Markdown to MLA" name="og:site_name" />
|
||||
<meta property='og:type' name='og:type' content='website' />
|
||||
<meta property='og:title' name='og:title' content='Markdown to MLA' />
|
||||
<meta property='description' name='description' content='Convert markdown to MLA formatted PDFs ' />
|
||||
<meta property='og:description' name='og:description' content='Blog and projects of an internet micropreneur, software engineer, mustachian, and stage actor.' />
|
||||
<meta property='description' name='description' content='Convert markdown to MLA formatted PDFs. Makes writing school papers much easier.' />
|
||||
<meta property='og:description' name='og:description' content='Convert markdown to MLA formatted PDFs. Makes writing school papers much easier.' />
|
||||
<meta property='og:url' name='og:url' content='http://markdowntomla.com/' />
|
||||
<meta property='og:image' name='og:image' content='http://i.imgur.com/JwuUAy9.png' />
|
||||
|
||||
@ -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<arguments.length;a++)e.push(t(arguments[a]));return e.join(" ")}for(var a=1,r=arguments,c=r.length,i=String(n).replace(U,function(n){if("%%"===n)return"%";if(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<n.length;a++)e(n[a],a,n)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(n,e,a){Object.defineProperty(n,e,{writable:!0,enumerable:!1,configurable:!0,value:a})}}catch(n){return function(n,e,a){n[e]=a}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];Context.prototype={};var Script=exports.Script=function(n){return this instanceof Script?void(this.code=n):new Script(n)};Script.prototype.runInContext=function(n){if(!(n instanceof Context))throw new TypeError("needs a 'context' argument.");var e=document.createElement("iframe");e.style||(e.style={}),e.style.display="none",document.body.appendChild(e);var a=e.contentWindow,r=a.eval,t=a.execScript;!r&&t&&(t.call(a,"null"),r=a.eval),forEach(Object_keys(n),function(e){a[e]=n[e]}),forEach(globals,function(e){n[e]&&(a[e]=n[e])});var c=Object_keys(a),i=r.call(a,this.code);return forEach(Object_keys(a),function(e){(e in n||-1===indexOf(c,e))&&(n[e]=a[e])}),forEach(globals,function(e){e in n||defineProp(n,e,a[e])}),document.body.removeChild(e),i},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(n){var e=Script.createContext(n),a=this.runInContext(e);return forEach(Object_keys(e),function(a){n[a]=e[a]}),a},forEach(Object_keys(Script.prototype),function(n){exports[n]=Script[n]=function(e){var a=Script(e);return a[n].apply(a,[].slice.call(arguments,1))}}),exports.createScript=function(n){return exports.Script(n)},exports.createContext=Script.createContext=function(n){var e=new Context;return"object"==typeof n&&forEach(Object_keys(n),function(a){e[a]=n[a]}),e}},{indexof:99}],99:[function(n,e){var a=[].indexOf;e.exports=function(n,e){if(a)return n.indexOf(e);for(var r=0;r<n.length;++r)if(n[r]===e)return r;return-1}},{}]},{},[1]);</script>
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-61658501-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -5,8 +5,8 @@
|
||||
<meta content="Markdown to MLA" name="og:site_name" />
|
||||
<meta property='og:type' name='og:type' content='website' />
|
||||
<meta property='og:title' name='og:title' content='Markdown to MLA' />
|
||||
<meta property='description' name='description' content='Convert markdown to MLA formatted PDFs ' />
|
||||
<meta property='og:description' name='og:description' content='Blog and projects of an internet micropreneur, software engineer, mustachian, and stage actor.' />
|
||||
<meta property='description' name='description' content='Convert markdown to MLA formatted PDFs. Makes writing school papers much easier.' />
|
||||
<meta property='og:description' name='og:description' content='Convert markdown to MLA formatted PDFs. Makes writing school papers much easier.' />
|
||||
<meta property='og:url' name='og:url' content='http://markdowntomla.com/' />
|
||||
<meta property='og:image' name='og:image' content='http://i.imgur.com/JwuUAy9.png' />
|
||||
|
Loading…
Reference in New Issue
Block a user