Skip to content

Commit

Permalink
s/Github/GitHub/
Browse files Browse the repository at this point in the history
  • Loading branch information
kei-s committed Dec 10, 2013
1 parent 07e2cb2 commit 71a7199
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
@@ -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/)
Expand Down
4 changes: 2 additions & 2 deletions help/help.creole
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
}}}
10 changes: 5 additions & 5 deletions help/help.markdown
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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/)

8 changes: 4 additions & 4 deletions help/help.org
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions help/help.textile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
10 changes: 5 additions & 5 deletions public/scripts/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$(function(){
if (typeof GithubPreview === 'undefined') GithubPreview = {};
if (typeof GitHubPreview === 'undefined') GitHubPreview = {};

// keep text and preview at 100% height
function resize() {
Expand Down Expand Up @@ -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();
Expand Down
6 changes: 3 additions & 3 deletions views/index.haml
Original file line number Diff line number Diff line change
@@ -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"}
Expand All @@ -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]
Expand All @@ -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"}
Expand Down

0 comments on commit 71a7199

Please sign in to comment.