mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 01:16:15 -04:00
runIn was a bad idea
This commit is contained in:
parent
27f9906b1e
commit
a4d68b2b25
2 changed files with 0 additions and 32 deletions
|
@ -119,13 +119,6 @@ var helper = {};
|
|||
return deferred;
|
||||
}
|
||||
|
||||
helper.runIn = function($iframe, func){
|
||||
var eval = $iframe.window.eval;
|
||||
var funcStr = "(" + func.toString() + ")()";
|
||||
|
||||
return eval(funcStr);
|
||||
}
|
||||
|
||||
/* Ensure console.log doesn't blow up in IE, ugly but ok for a test framework imho*/
|
||||
window.console = window.console || {};
|
||||
window.console.log = window.console.log || function(){}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue