diff --git a/README.markdown b/README.markdown index 25004b9..1a43db6 100644 --- a/README.markdown +++ b/README.markdown @@ -1,4 +1,4 @@ -# Github Preview [![TravisCI](https://secure.travis-ci.org/kei-s/github-preview.png?branch=master)](http://travis-ci.org/kei-s/github-preview) [![Dependency Status](https://gemnasium.com/kei-s/github-preview.png)](https://gemnasium.com/kei-s/github-preview) +# GitHub Preview [![TravisCI](https://secure.travis-ci.org/kei-s/github-preview.png?branch=master)](http://travis-ci.org/kei-s/github-preview) [![Dependency Status](https://gemnasium.com/kei-s/github-preview.png)](https://gemnasium.com/kei-s/github-preview) ## App on Heroku [http://github-preview.herokuapp.com/](http://github-preview.herokuapp.com/) diff --git a/help/help.creole b/help/help.creole index 3b703fb..e74acb4 100644 --- a/help/help.creole +++ b/help/help.creole @@ -51,7 +51,7 @@ http://github-preview.herokuapp.com/ is autolinked. }}} -[[http://github-preview.herokuapp.com/|Github Preview]] +[[http://github-preview.herokuapp.com/|GitHub Preview]] {{{ -[[http://github-preview.herokuapp.com/|Github Preview]] +[[http://github-preview.herokuapp.com/|GitHub Preview]] }}} diff --git a/help/help.markdown b/help/help.markdown index 5dcc9f0..e6212fe 100644 --- a/help/help.markdown +++ b/help/help.markdown @@ -1,7 +1,7 @@ # Markdown [Official Syntax](http://daringfireball.net/projects/markdown/syntax) -[Github Flavored Markdown](http://github.github.com/github-flavored-markdown/) +[GitHub Flavored Markdown](http://github.github.com/github-flavored-markdown/) # Heading 1 # Heading 1 @@ -34,11 +34,11 @@ Use `code` in line. Use `code` in line. # Link -http://github-preview.herokuapp.com/ will be autolinked in Github. +http://github-preview.herokuapp.com/ will be autolinked in GitHub. - http://github-preview.herokuapp.com/ will be autolinked in Github. + http://github-preview.herokuapp.com/ will be autolinked in GitHub. -[Github Preview](http://github-preview.herokuapp.com/) +[GitHub Preview](http://github-preview.herokuapp.com/) - [Github Preview](http://github-preview.herokuapp.com/) + [GitHub Preview](http://github-preview.herokuapp.com/) diff --git a/help/help.org b/help/help.org index 5387932..577714c 100644 --- a/help/help.org +++ b/help/help.org @@ -52,14 +52,14 @@ Use =code= in line. * Link -http://github-preview.herokuapp.com/ will be autolinked in Github. +http://github-preview.herokuapp.com/ will be autolinked in GitHub. #+BEGIN_EXAMPLE -http://github-preview.herokuapp.com/ will be autolinked in Github. +http://github-preview.herokuapp.com/ will be autolinked in GitHub. #+END_EXAMPLE -[[http://github-preview.herokuapp.com/][Github Preview]] +[[http://github-preview.herokuapp.com/][GitHub Preview]] #+BEGIN_EXAMPLE -[[http://github-preview.herokuapp.com/][Github Preview]] +[[http://github-preview.herokuapp.com/][GitHub Preview]] #+END_EXAMPLE diff --git a/help/help.textile b/help/help.textile index beb329a..df44d2f 100644 --- a/help/help.textile +++ b/help/help.textile @@ -39,10 +39,10 @@ bc. Use @code@ in line. h1. Link -http://github-preview.herokuapp.com/ will be autolinked in Github. +http://github-preview.herokuapp.com/ will be autolinked in GitHub. -bc. http://github-preview.herokuapp.com/ will be autolinked in Github. +bc. http://github-preview.herokuapp.com/ will be autolinked in GitHub. -"Github Preview":http://github-preview.herokuapp.com/ +"GitHub Preview":http://github-preview.herokuapp.com/ -bc. "Github Preview":http://github-preview.herokuapp.com/ +bc. "GitHub Preview":http://github-preview.herokuapp.com/ diff --git a/public/scripts/app.js b/public/scripts/app.js index c28cce7..1d14177 100644 --- a/public/scripts/app.js +++ b/public/scripts/app.js @@ -1,5 +1,5 @@ $(function(){ - if (typeof GithubPreview === 'undefined') GithubPreview = {}; + if (typeof GitHubPreview === 'undefined') GitHubPreview = {}; // keep text and preview at 100% height function resize() { @@ -90,17 +90,17 @@ $(function(){ // confirmation function setupConfirmation() { - GithubPreview.changedForm = false; + GitHubPreview.changedForm = false; $(window).bind('beforeunload', function(e) { - if (GithubPreview.changedForm) { + if (GitHubPreview.changedForm) { return 'You have uncopied changes.'; } }); $('#text').bind('input', function() { - GithubPreview.changedForm = true; + GitHubPreview.changedForm = true; }).bind('copy cut', function() { - GithubPreview.changedForm = false; + GitHubPreview.changedForm = false; }); } setupConfirmation(); diff --git a/views/index.haml b/views/index.haml index 7cb8511..4bcd613 100644 --- a/views/index.haml +++ b/views/index.haml @@ -1,7 +1,7 @@ !!! 5 %html %head - %title Github Preview + %title GitHub Preview %script{:type => "text/javascript", :src => "http://code.jquery.com/jquery-1.6.2.min.js"} %script{:type => "text/javascript", :src => "http://documentcloud.github.com/underscore/underscore-min.js"} %script{:type => "text/javascript", :src => "/scripts/app.js"} @@ -11,7 +11,7 @@ %img{:alt => "Fork me on GitHub", :src => "http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png", :style => "position: absolute; top: 0pt; right: 0pt; border: 0pt none;"} #header - %h1 Github Preview + %h1 GitHub Preview %p Format: - formats = %w[markdown textile rdoc org creole mediawiki] @@ -21,7 +21,7 @@ %a#showhelp{:href => "#"} Show Formatting Help :javascript function getText() { - GithubPreview.changedForm = false; + GitHubPreview.changedForm = false; return $('#text').val(); } %object#clippy{classid: "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000", width: "110", height: "14"}