debugging console for IE;
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
%title Nineminutes
|
||||
= include_stylesheets :common, :media=>'all'
|
||||
= javascript_include_tag "http://www.google.com/jsapi"
|
||||
= include_javascripts :jquery, :plugins, :common
|
||||
= include_javascripts :jquery, :helper, :plugins, :common
|
||||
|
||||
= csrf_meta_tag
|
||||
%body
|
||||
|
||||
@@ -5,6 +5,8 @@ javascript_compressor: closure
|
||||
javascripts:
|
||||
jquery:
|
||||
- public/javascripts/jquery.js
|
||||
helper:
|
||||
- public/javascripts/helper/*.js
|
||||
plugins:
|
||||
- public/javascripts/plugins/*.js
|
||||
common:
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,16 +1,16 @@
|
||||
|
||||
// Default paths for application
|
||||
// DON'T CHANGE!!!
|
||||
const hashbang = "#!";
|
||||
const artist_path = "/artists/";
|
||||
const home_path = "/home";
|
||||
const charts_path = "/charts";
|
||||
const search_path = "/search/";
|
||||
const search_autocomplete_path = "/autocomplete/";
|
||||
const user_path = "/users/";
|
||||
const register_path = "/register";
|
||||
const login_path = "/login";
|
||||
const logout_path = "/logout";
|
||||
var hashbang = "#!";
|
||||
var artist_path = "/artists/";
|
||||
var home_path = "/home";
|
||||
var charts_path = "/charts";
|
||||
var search_path = "/search/";
|
||||
var search_autocomplete_path = "/autocomplete/";
|
||||
var user_path = "/users/";
|
||||
var register_path = "/register";
|
||||
var login_path = "/login";
|
||||
var logout_path = "/logout";
|
||||
|
||||
$(document).ready(function(){
|
||||
Path.root(hashbang+home_path);
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/* Faux Console by Chris Heilmann http://wait-till-i.com */ if(!window.console){var console={init:function(){console.d=document.createElement('div');document.body.appendChild(console.d);var a=document.createElement('a');a.href='javascript:console.hide()';a.innerHTML='close';console.d.appendChild(a);var a=document.createElement('a');a.href='javascript:console.clear();';a.innerHTML='clear';console.d.appendChild(a);var id='fauxconsole';if(!document.getElementById(id)){console.d.id=id;}console.hide();},hide:function(){console.d.style.display='none';},show:function(){console.d.style.display='block';},log:function(o){console.d.innerHTML+='<br/>'+o;console.show();},clear:function(){console.d.parentNode.removeChild(console.d);console.init();console.show();},/*Simon Willison rules*/addLoadEvent:function(func){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func;}else{window.onload=function(){if(oldonload){oldonload();}func();}};}};console.addLoadEvent(console.init);}
|
||||
Vendored
-15
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,5 @@
|
||||
@import "reset";
|
||||
@import "fauxconsole";
|
||||
@import "layout";
|
||||
|
||||
@import "artist";
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
#fauxconsole{
|
||||
position:absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
width:300px;
|
||||
border:1px solid #999;
|
||||
font-family:courier,monospace;
|
||||
background:#eee;
|
||||
font-size:10px;
|
||||
padding:10px;
|
||||
}
|
||||
html>body #fauxconsole{
|
||||
position:fixed;
|
||||
}
|
||||
#fauxconsole a{
|
||||
float:right;
|
||||
padding-left:1em;
|
||||
padding-bottom:.5em;
|
||||
text-align:right;
|
||||
}
|
||||
Reference in New Issue
Block a user