mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
setup with html5 stuff, start converting things to markdown
This commit is contained in:
parent
a2fa2e91ea
commit
440d7af6d7
26 changed files with 6922 additions and 746 deletions
34
docs/public/js/plugins.js
Executable file
34
docs/public/js/plugins.js
Executable file
|
@ -0,0 +1,34 @@
|
|||
|
||||
(function($){
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
})(this.jQuery);
|
||||
|
||||
|
||||
|
||||
|
||||
window.log = function(){
|
||||
log.history = log.history || [];
|
||||
log.history.push(arguments);
|
||||
if(this.console){
|
||||
console.log( Array.prototype.slice.call(arguments) );
|
||||
}
|
||||
};
|
||||
(function(doc){
|
||||
var write = doc.write;
|
||||
doc.write = function(q){
|
||||
log('document.write(): ',arguments);
|
||||
if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments);
|
||||
};
|
||||
})(document);
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue