removed hack, because its uncessary now that scheduler is back

pull/1492/head
Peter 'Pita' Martischka 2013-02-10 21:19:48 +00:00
parent 5e041aaedb
commit 500c451ba1
1 changed files with 0 additions and 14 deletions

View File

@ -157,20 +157,6 @@ function Ace2Inner(){
var scheduler = parent; // hack for opera required
// Ugly hack for Firefox 18
// get the timeout and interval methods from the parent iframe
// This hack breaks IE8 so be careful
if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){
try{
setTimeout = scheduler.setTimeout;
clearTimeout = scheduler.clearTimeout;
setInterval = scheduler.setInterval;
clearInterval = scheduler.clearInterval;
}catch(err){
// IE8 can panic here.
}
}
var textFace = 'monospace';
var textSize = 12;