Skip to content

Commit

Permalink
Didn't need the url
Browse files Browse the repository at this point in the history
  • Loading branch information
Zach Moazeni committed May 11, 2012
1 parent e24e581 commit fee74c3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion coffee/site.coffee
Expand Up @@ -272,7 +272,7 @@ class window.App extends Spine.Controller

renderUser: (user) =>
Repo.fetch(user)
@content.html(@view("show", user:user, url:location.href))
@content.html(@view("show", user:user))
@content.find("#timeline").append(@view("joined", user:user))
@refreshElements() # this refreshes @joined and @timeline
@timeline.masonry(itemSelector:"#timeline li:not(.hidden)")
Expand Down
2 changes: 1 addition & 1 deletion coffee/views.coffee
Expand Up @@ -45,7 +45,7 @@ views["show"] = """
</ul>
</div>
<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-text="My gitspective: {{url}}">Tweet</a>
<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-text="My gitspective: ">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</header>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -28,8 +28,8 @@
<script src="js-lib/spine/spine.js" type="text/javascript"></script>
<script src="js-lib/spine/route.js" type="text/javascript"></script>
<script src="js-lib/mustache.js" type="text/javascript"></script>
<script src="js/views.js?7" type="text/javascript"></script>
<script src="js/site.js?7" type="text/javascript"></script>
<script src="js/views.js?8" type="text/javascript"></script>
<script src="js/site.js?8" type="text/javascript"></script>

<!-- footer to try and trick gh-pages fork -->
</body>
Expand Down
3 changes: 1 addition & 2 deletions js/site.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/views.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fee74c3

Please sign in to comment.