Created
July 8, 2011 16:35
-
-
Save clairvy/1072210 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/public/stylesheets/sass/main.sass b/public/stylesheets/sass/main.sass | |
index 1bc4d8a..56f14e0 100644 | |
--- a/public/stylesheets/sass/main.sass | |
+++ b/public/stylesheets/sass/main.sass | |
@@ -1,6 +1,6 @@ | |
// variable | |
-!link-color = #e2041b | |
-!link-visited-color = #e597b2 | |
+$link-color: #e2041b | |
+$link-visited-color: #e597b2 | |
// layout | |
body | |
@@ -209,21 +209,21 @@ img.profile | |
// link | |
a | |
- :color !link-color | |
+ :color $link-color | |
:font-style normal | |
:text-decoration underline | |
a:link | |
- :color !link-color | |
+ :color $link-color | |
:font-style normal | |
:text-decoration underline | |
a:visited | |
- :color !link-visited-color | |
+ :color $link-visited-color | |
:text-decoration underline | |
a:hover | |
- :color !link-color | |
+ :color $link-color | |
:font-style normal | |
:text-decoration underline | |
diff --git a/websocket/client_side.rb b/websocket/client_side.rb | |
index 722475d..2ef34dd 100644 | |
--- a/websocket/client_side.rb | |
+++ b/websocket/client_side.rb | |
@@ -23,7 +23,7 @@ class ClientSide | |
:port => @port) do |ws| | |
ws.onopen do | |
@logger.info "on open: #{ws.request.inspect}" | |
- dispatch(ws.request['Path'])do|event| | |
+ dispatch(ws.request['path'])do|event| | |
@clients[ws] = event.listen do|hash| | |
@logger.info "send #{hash.inspect}" | |
ws.send hash.to_json | |
@@ -33,7 +33,7 @@ class ClientSide | |
ws.onclose do | |
@logger.info "on close: #{ws.request.inspect}" | |
- dispatch(ws.request['Path'])do|event, query| | |
+ dispatch(ws.request['path'])do|event, query| | |
event.remove @clients[ws] | |
end | |
@clients.delete ws |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sass のバージョンアップとかですかね?
下のはよくわからん.