changes I don't even know
This commit is contained in:
parent
cbed7271df
commit
6463c53838
24
Rakefile
24
Rakefile
@ -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
216
built/apa/index.html
Normal file
File diff suppressed because one or more lines are too long
BIN
js/.DS_Store
vendored
BIN
js/.DS_Store
vendored
Binary file not shown.
@ -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">
|
||||||
*{
|
*{
|
||||||
|
Loading…
Reference in New Issue
Block a user