changes I don't even know

This commit is contained in:
Christian Genco 2015-07-20 13:57:08 -05:00
parent cbed7271df
commit 6463c53838
5 changed files with 230 additions and 14 deletions

View File

@ -24,16 +24,16 @@ task :build_apa do
puts "browserifying" puts "browserifying"
puts system("browserify -t coffeeify browser.markdowntoapa.coffee > js/markdowntoapa.js") puts system("browserify -t coffeeify browser.markdowntoapa.coffee > js/markdowntoapa.js")
# puts "building minified self-contained index.html" puts "building minified self-contained index.html"
# html = File.read('template_markdowntoapa.html') html = File.read('template_markdowntoapa.html')
# bundled = html.split("\n").map{|line| bundled = html.split("\n").map{|line|
# if line =~ /\<script.*src=\"(.*)\"/ if line =~ /\<script.*src=\"(.*)\"/
# path = $1 path = $1
# js = Uglifier.compile(File.read(path)) js = Uglifier.compile(File.read(path))
# "<script type='text/javascript'>#{js}</script>" "<script type='text/javascript'>#{js}</script>"
# else else
# line line
# end end
# } }
# File.open('built/apa/index.html', 'w'){|f| f.puts bundled} File.open('built/apa/index.html', 'w'){|f| f.puts bundled}
end end

216
built/apa/index.html Normal file

File diff suppressed because one or more lines are too long

BIN
js/.DS_Store vendored

Binary file not shown.

View File

@ -8,7 +8,7 @@
<meta property='description' name='description' content='Convert markdown to APA formatted PDFs. Makes writing school papers much easier.' /> <meta property='description' name='description' content='Convert markdown to APA formatted PDFs. Makes writing school papers much easier.' />
<meta property='og:description' name='og:description' content='Convert markdown to APA formatted PDFs. Makes writing school papers much easier.' /> <meta property='og:description' name='og:description' content='Convert markdown to APA formatted PDFs. Makes writing school papers much easier.' />
<meta property='og:url' name='og:url' content='http://markdowntoapa.com/' /> <meta property='og:url' name='og:url' content='http://markdowntoapa.com/' />
<meta property='og:image' name='og:image' content='http://i.imgur.com/JwuUAy9.png' /> <meta property='og:image' name='og:image' content='http://i.imgur.com/7mgT3KE.png' />
<style type="text/css"> <style type="text/css">
*{ *{