Permalink
Browse files

Adding yui compressor

  • Loading branch information...
1 parent 9bca2e8 commit 3b0221eff716e9f34c7e4d9fc85f08eed846b104 Phalcon committed May 13, 2012
@@ -47,10 +47,11 @@
</div>
</div>
-<script type="text/javascript">
-window.onload = function(){
- var s = document.createElement('SCRIPT');
- s.src = "http://speakerdeck.com/embed/4edf11f72a2b980050009919.js";
- document.getElementById("speakerdeck").appendChild(s);
-};
-</script>
+<div id="fork">
+ <a href="https://github.com/phalcon/cphalcon">
+ <?php echo Phalcon_Tag::image('img/fork.png') ?>
+ </a>
+</div>
+
+<script type="text/javascript" src="http://phalconphp.com/javascript/index.js"></script>
+
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -620,4 +620,11 @@ iframe.present_iframe {
padding:0;
margin:0;
background:transparent;
-}
+}
+
+#fork {
+ border: 0 none;
+ position: absolute;
+ right: 0;
+ top: 0;
+}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -1,3 +1,5 @@
+
+
if(document.location.hostname!='localhost'){
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-29332509-1']);
@@ -14,4 +16,4 @@ if(document.location.hostname!='localhost'){
uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/jycT5U7k39Mm2D8wJIaEyg.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s);
})();
-}
+}
View
@@ -0,0 +1,10 @@
+
+if(navigator.userAgent.indexOf("Win")!=-1){
+ document.getElementById("fork").style.display = "hidden";
+}
+
+window.onload = function(){
+ var s = document.createElement('SCRIPT');
+ s.src = "http://speakerdeck.com/embed/4edf11f72a2b980050009919.js";
+ document.getElementById("speakerdeck").appendChild(s);
+};
View
@@ -0,0 +1,6 @@
+java -jar scripts/yuicompressor-2.4.7.jar public/css/style.css > public/css/s.css
+java -jar scripts/yuicompressor-2.4.7.jar public/css/documentation.css > public/css/d.css
+java -jar scripts/yuicompressor-2.4.7.jar public/css/colors/zenburn.css >> public/css/d.css
+java -jar scripts/yuicompressor-2.4.7.jar public/css/api.css > public/css/a.css
+java -jar scripts/yuicompressor-2.4.7.jar public/css/colors/zenburn.css >> public/css/a.css
+java -jar scripts/yuicompressor-2.4.7.jar public/css/blog.css > public/css/b.css
Binary file not shown.

0 comments on commit 3b0221e

Please sign in to comment.