Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Iain Barnett committed May 7, 2013
2 parents d95f549 + 93b6db2 commit a1ca0fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/rack_clicky.rb
Expand Up @@ -15,9 +15,9 @@ def self.script
end

SYNC_SCRIPT = <<-EOTC
<script src="http://static.getclicky.com/js" type="text/javascript"></script>
<script type="text/javascript">clicky.init({{CODE}});</script>
<noscript><p><img alt="Clicky" width="1" height="1" src="http://in.getclicky.com/{{CODE}}ns.gif" /></p></noscript>
<script src="//static.getclicky.com/js" type="text/javascript"></script>
<script type="text/javascript">try{ clicky.init({{CODE}}); }catch(e){}</script>
<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/{{CODE}}ns.gif" /></p></noscript>
EOTC

ASYNC_SCRIPT = <<-STR
Expand Down
6 changes: 3 additions & 3 deletions spec/rack_clicky_spec.rb
Expand Up @@ -11,9 +11,9 @@
STR
}
let(:sync_script) { <<STR
<script src="http://static.getclicky.com/js" type="text/javascript"></script>
<script type="text/javascript">clicky.init(000000);</script>
<noscript><p><img alt="Clicky" width="1" height="1" src="http://in.getclicky.com/000000ns.gif" /></p></noscript>
<script src="//static.getclicky.com/js" type="text/javascript"></script>
<script type="text/javascript">try{ clicky.init(000000); }catch(e){}</script>
<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/000000ns.gif" /></p></noscript>
</body>
STR
Expand Down

0 comments on commit a1ca0fa

Please sign in to comment.